Interface: ChunkConfig

Internal representation of Chunk config specifying it's remote location and the data necessary to fetch it.

internal

Table of contents

Properties

Properties

absolute

absolute: boolean

Whether chunk's URL is an absolute FileSystem URL on a target device.

Defined in

types.ts:150


body

Optional body: string

Request body.

Defined in

types.ts:156


fetch

fetch: boolean

Whether to fetch chunk from the network or use cached one.

Defined in

types.ts:146


headers

Optional headers: Record<string, string>

Request headers.

Defined in

types.ts:154


method

method: "GET" | "POST"

HTTP method.

Defined in

types.ts:142


query

Optional query: string

Query params.

Defined in

types.ts:152


timeout

timeout: number

Custom timeout for chunk fetch requests.

Defined in

types.ts:148


url

url: string

Path-only URL to a chunk's remote location.

Defined in

types.ts:144