Condividi tramite


RequestParameters type

Forma dei parametri di richiesta predefiniti, questo può essere sottoposto a override dai tipi di richiesta specifici per fornire tipi sicuri

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
}