Skip to main content
Per-request fetch-level options that are orthogonal to the API request payload. These are passed through to the underlying fetch() call via openapi-fetch’s init spread. Intentionally kept separate from *Request types so API-domain interfaces stay serializable and free of DOM/transport concerns.

Properties

signal?

optional signal?: AbortSignal
An AbortSignal to cancel the in-flight HTTP request. When the signal fires, the underlying fetch() rejects with an AbortError wrapped in a NetworkError.

Example