RequestParameters type
預設要求參數的形狀,這可能會由特定要求類型覆寫,以提供強型別
type RequestParameters = {
abortSignal?: AbortSignalLike
accept?: string
allowInsecureConnection?: boolean
body?: unknown
contentType?: string
headers?: RawHttpHeadersInput
onDownloadProgress?: (progress: TransferProgressEvent) => void
onResponse?: RawResponseCallback
onUploadProgress?: (progress: TransferProgressEvent) => void
pathParameters?: Record<string, any>
queryParameters?: Record<string, unknown>
skipUrlEncoding?: boolean
timeout?: number
tracingOptions?: OperationTracingOptions
}