Skip to Content

TransportConfig

type TransportConfig = object;

How an SDK sends its requests. Every field is optional.

Properties

fetch?

fetch?: FetchLike;

Defaults to the global fetch.


headers?

headers?: HeadersInit;

Default headers: a request’s own headers and the credentials an SDK manages override them.


retries?

retries?: number;

How often to retry a gateway request that failed. Defaults to 0: a retry may charge twice.


timeoutMs?

timeoutMs?: number;

How long to wait for a response, in milliseconds. Defaults to the HTTP client’s default.

Last updated on