-
An API key, sent as x-api-key; null sends none.
Sends a freshly generated W3C traceparent with every request (true), or none (false).
The server's base URL, for example http://127.0.0.1:3101: http or https, with a host,
and no user info, query or fragment; a path prefix is kept and a trailing slash dropped.
Starts a builder; baseUrl is required.
The limit on a whole call, retries and waits included; none when not set.
An
HttpClient to send through instead of the client's own, for tests or a custom
proxy or executor.
Observes every response's status and headers; null for none.
Retries of transient failures;
RetryOptions.NONE (the default) sends every call once.
The timeout of each attempt (connect and response headers); 30 seconds when not set.
A JWT, sent as Authorization: Bearer <token>; null sends none.
A fixed W3C traceparent sent with every request; null sends none.