Partilhar via


RequestParameters type

Forma dos parâmetros de pedido predefinidos, isto pode ser substituída pelos tipos de pedido específicos para fornecer tipos fortes

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
}