OptionalabortSignal
abortSignal?: AbortSignal
Optionalbody
body?: unknown
OptionalcontentType
contentType?: string
Optionalduplex
duplex?: "half"
headers?: Record<string, string | undefined>
OptionalmaxRetries
maxRetries?: number
method
method: string
OptionalqueryParameters
queryParameters?: Record<string, string | object | string[] | object[] | null>
OptionalrequestType
requestType?: "json" | "file" | "bytes"
OptionalresponseType
responseType?: "json" | "blob" | "sse" | "streaming" | "text" | "arrayBuffer"
OptionaltimeoutMs
timeoutMs?: number
url
url: string
OptionalwithCredentials
withCredentials?: boolean