RequestOptions<Req>: {
    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
        | BlobLike
        | ArrayBufferView
        | ArrayBuffer