Options
Options =
object& ({body?:string;json?:never; } | {body?:never;json:unknown; })
Type Declaration
Section titled “Type Declaration”headers?
Section titled “headers?”
readonlyoptionalheaders?:Readonly<Record<string,string>>
method?
Section titled “method?”
readonlyoptionalmethod?:Method
Default Value
Section titled “Default Value”"GET"timeout?
Section titled “timeout?”
readonlyoptionaltimeout?:Duration.Input
Total time through redirects and the response download.
Default Value
Section titled “Default Value”20 seconds