HttpRangeOptions
Options for httpRangeSource.
Properties
Section titled “Properties”blockSize?
Section titled “blockSize?”
readonlyoptionalblockSize?:number
Fetches are aligned to blocks of this many bytes (default 16 384: each object a reader checks costs one block, so larger blocks fetch more of the file).
credentials?
Section titled “credentials?”
readonlyoptionalcredentials?:RequestCredentials
fetch’s credentials mode.
fetch?
Section titled “fetch?”
readonlyoptionalfetch?: (input,init?) =>Promise<Response>
The fetch to use (default: the global one).
Parameters
Section titled “Parameters”URL | RequestInfo
RequestInit
Returns
Section titled “Returns”Promise<Response>
headers?
Section titled “headers?”
readonlyoptionalheaders?:Readonly<Record<string,string>>
Extra request headers (authorisation, …). Range and If-Range are lamina’s.
signal?
Section titled “signal?”
readonlyoptionalsignal?:AbortSignal
Aborts the probe; reads take their own signal.
readonlyoptionaltail?:number
The first request asks for this many bytes at the end of the file (default 65 536).