Interface HttpRangeOptions

Represents options passed to the constructor of HttpRangeReader and HttpReader.

interface HttpRangeOptions {
    headers?: Iterable<[string, string]> | Map<string, string>;
    useXHR?: boolean;
}

Hierarchy (view full)

Properties

Properties

headers?: Iterable<[string, string]> | Map<string, string>

The HTTP headers.

useXHR?: boolean

true to rely XMLHttpRequest instead of fetch to fetch data.

Default Value

false