Configure and obtain a FetchClient
- Value parameters:
- cache
how the request will interact with the browser’s HTTP cache
- credentials
what browsers do with credentials (cookies, HTTP authentication entries, and TLS client certificates)
- mode
mode you want to use for the request, e.g., cors, no-cors, or same-origin
- redirect
how to handle a redirect response
- referrer
referrer of the request
- referrerPolicy
referrer policy to use for the request
- requestTimeout
maximum duration from the submission of a request through reading the body before a timeout.
- Companion:
- object
- Source:
- FetchClientBuilder.scala
Value members
Concrete methods
Inherited methods
Returns the backend as a single-element stream. The stream does not emit until the backend is ready to process requests. The backend is shut down when the stream is finalized.
Returns the backend as a single-element stream. The stream does not emit until the backend is ready to process requests. The backend is shut down when the stream is finalized.
- Inherited from:
- BackendBuilder
- Source:
- BackendBuilder.scala