Interface: RangeReaderOptions
Defined in: types.ts:134
Options for RangeReader.
Properties
cache?
optionalcache?:ByteCache| {dataBytes?:number;metadataBytes?:number; }
Defined in: types.ts:141
Byte budgets of the default in-memory cache, by purpose, or a user-supplied ByteCache.
cacheMode?
optionalcacheMode?:RequestCache
Defined in: types.ts:154
RequestInit.cache for every request. Default: the browser's default.
fetch?
optionalfetch?: {(input,init?):Promise<Response>; (input,init?):Promise<Response>; }
Defined in: types.ts:136
Transport. Defaults to globalThis.fetch; tests and custom auth replace it.
Call Signature
Parameters
input
URL | RequestInfo
init?
RequestInit
Returns
Call Signature
Parameters
input
init?
RequestInit
Returns
maxGap?
optionalmaxGap?:number|"median"
Defined in: types.ts:146
Largest gap between two reads that still share a request. "median"
uses the batch's median read length.
maxOverfetchBytes?
optionalmaxOverfetchBytes?:number
Defined in: types.ts:148
Largest number of bytes in one request that no read covers.
maxRequestBytes?
optionalmaxRequestBytes?:number
Defined in: types.ts:150
Largest merged request; also the largest whole object accepted from a server that ignores Range.
minMetadataReadBytes?
optionalminMetadataReadBytes?:number
Defined in: types.ts:152
Metadata reads shorter than this are widened to an aligned block of this size.