Type alias RequestOptions<Req>
RequestOptions<Req>: { __binaryResponse?: boolean; __streamClass?: typeof Stream; body?: Req | null; headers?: Headers; httpAgent?: Agent; idempotencyKey?: string; maxRetries?: number; method?: HTTPMethod; path?: string; query?: Req; signal?: AbortSignal | null; stream?: boolean; timeout?: number; } Type Parameters
Req = unknown | Record<string, unknown> | Readable
Type declaration
Optional __binaryResponse?: boolean
Optional __streamClass?: typeof Stream
Optional body?: Req | null
Optional headers?: Headers
Optional httpAgent?: Agent
Optional idempotencyKey?: string
Optional maxRetries?: number
Optional method?: HTTPMethod
Optional path?: string
Optional query?: Req
Optional signal?: AbortSignal | null
Optional stream?: boolean
Optional timeout?: number