Internal representation of Chunk config specifying it's remote location and the data necessary to fetch it.
internal
• absolute: boolean
Whether chunk's URL is an absolute FileSystem URL on a target device.
• Optional
body: string
Request body.
• fetch: boolean
Whether to fetch chunk from the network or use cached one.
• Optional
headers: Record
<string
, string
>
Request headers.
• method: "GET"
| "POST"
HTTP method.
• Optional
query: string
Query params.
• timeout: number
Custom timeout for chunk fetch requests.
• url: string
Path-only URL to a chunk's remote location.