Skip to main content

Properties

AbortSignal
A hook to abort the request.
Record<string, unknown>
A dictionary containing additional parameters to spread into the request’s body.
Record<string, Supplier<string | null | undefined>>
Additional headers to include in the request.
number
The number of times to retry the request. Defaults to 2.
Record<string, unknown>
Additional query string parameters to include in the request.
{ maxReconnectionAttempts: number; reconnectionEnabled: boolean }
Options for SSE stream reconnection behavior. Has no effect on non-resumable endpoints.
number
The maximum time to wait for a response in seconds.