Skip to content

NetlifyRawTransport

Defined in: deploys/deploys.ts:68

Raw transport details create() needs beyond the generic RestClient — file/function uploads send a binary body, which RestClient.request() can’t carry (always JSON-encodes a given body).

optional baseUrl?: string

Defined in: deploys/deploys.ts:72

Override base URL, as for the client.


optional fetch?: (input, init?) => Promise<Response>

Defined in: deploys/deploys.ts:74

Override fetch, as for the client.

string | URL | Request

RequestInit

Promise<Response>


token: string

Defined in: deploys/deploys.ts:70

The Netlify token used for the upload requests.