Interface: NetworkFetchInit
Defined in: Extensions/ExtensionApiDtos.ts:873
Properties
body?
optionalbody?:string|ArrayBuffer|Uint8Array<ArrayBufferLike> | {json:unknown; } | {form:Record<string,string>; }
Defined in: Extensions/ExtensionApiDtos.ts:881
Body shape: a string, a binary buffer, a JSON object wrapper, or a form wrapper. The host serializes JSON/form bodies and sets Content-Type automatically when not overridden.
headers?
optionalheaders?:Record<string,string>
Defined in: Extensions/ExtensionApiDtos.ts:875
maxResponseBytes?
optionalmaxResponseBytes?:number
Defined in: Extensions/ExtensionApiDtos.ts:892
Maximum response body size in bytes. Default 10 MB, max 100 MB.
method?
optionalmethod?:"GET"|"POST"|"PUT"|"PATCH"|"DELETE"|"HEAD"
Defined in: Extensions/ExtensionApiDtos.ts:874
redactHeaders?
optionalredactHeaders?:string[]
Defined in: Extensions/ExtensionApiDtos.ts:894
Stripped before logging. Use for things like Authorization headers.
redirect?
optionalredirect?:"error"|"manual"|"follow"
Defined in: Extensions/ExtensionApiDtos.ts:889
responseType?
optionalresponseType?:"text"|"json"|"arrayBuffer"
Defined in: Extensions/ExtensionApiDtos.ts:890
timeoutMs?
optionaltimeoutMs?:number
Defined in: Extensions/ExtensionApiDtos.ts:888
Default 30000, max 120000.