org.http4s.dom
Members list
Type members
Classlikes
Configure and obtain a FetchClient
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.
Attributes
- Companion
- object
- Source
- FetchClientBuilder.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Source
- FetchClientBuilder.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
FetchClientBuilder.type
Attributes
- Companion
- object
- Source
- FetchEventContext.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Source
- FetchEventContext.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
FetchEventContext.type
Options to pass to Fetch when using a FetchClient
Options to pass to Fetch when using 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)
- integrity
-
subresource integrity value of the request
- keepAlive
-
used to allow the request to outlive the page
- 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, this can be a same-origin URL, about:client, or an empty string.
- referrerPolicy
-
referrer policy to use for the request
- requestTimeout
-
maximum duration from the submission of a request through reading the body before a timeout.
Attributes
- Companion
- object
- Source
- FetchOptions.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- FetchOptions.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
FetchOptions.type
Fetch's RequestInit.referrer
parameter can be one of:
Fetch's RequestInit.referrer
parameter can be one of:
Same-origin URL
"about:client"
the empty string
To ensure same-origin URLs, we only allow relative URLs in the form of Uri.Path
.
See https://fetch.spec.whatwg.org/#ref-for-dom-request-referrer%E2%91%A0
Attributes
- Companion
- object
- Source
- FetchReferrer.scala
- Supertypes
- Known subtypes
Attributes
- Companion
- class
- Source
- FetchReferrer.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
FetchReferrer.type
Attributes
- Source
- ServiceWorker.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ServiceWorker.type
Attributes
- Source
- WebSocketClient.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
WebSocketClient.type
Implicits
Implicits
Attributes
- Source
- package.scala
Attributes
- Source
- package.scala
Attributes
- Source
- package.scala