Interface

RequestOptions

Properties

auth?: boolean

Include the configured token. Defaults to false for cross-origin absolute URLs.

body?: unknown | FormData
headers?: Record<string, string>
signal?: AbortSignal

Aborts the request when triggered (e.g. shutdown). Combined with the client timeout.