Skip to main content

Interface: RangeStreamOptions

Defined in: stream.ts:43

Options for RangeStream.

Properties​

cacheMode?​

optional cacheMode?: RequestCache

Defined in: stream.ts:46

RequestInit.cache for the request; defaults to the file init's.


fetch​

fetch: {(input, init?): Promise<Response>; (input, init?): Promise<Response>; }

Defined in: stream.ts:44

Call Signature​

(input, init?): Promise<Response>

MDN Reference

Parameters​
input​

URL | RequestInfo

init?​

RequestInit

Returns​

Promise<Response>

Call Signature​

(input, init?): Promise<Response>

MDN Reference

Parameters​
input​

string | URL | Request

init?​

RequestInit

Returns​

Promise<Response>


limiter?​

optional limiter?: ConcurrencyLimiter | null

Defined in: stream.ts:48

One slot is held from before the request until the stream ends.


maxRequestBytes​

maxRequestBytes: number

Defined in: stream.ts:50

Largest whole object accepted from a server that answers a range with 200.