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).
Properties
Section titled “Properties”baseUrl?
Section titled “baseUrl?”
optionalbaseUrl?:string
Defined in: deploys/deploys.ts:72
Override base URL, as for the client.
fetch?
Section titled “fetch?”
optionalfetch?: (input,init?) =>Promise<Response>
Defined in: deploys/deploys.ts:74
Override fetch, as for the client.
Parameters
Section titled “Parameters”string | URL | Request
RequestInit
Returns
Section titled “Returns”Promise<Response>
token:
string
Defined in: deploys/deploys.ts:70
The Netlify token used for the upload requests.