Compartilhar via


RequestParameters type

Forma dos parâmetros de solicitação padrão, isso pode ser substituído pelos tipos de solicitação 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
}