org.http4s.dom

Members list

Concise view

Type members

Classlikes

sealed abstract class FetchClientBuilder[F[_]]

Configure and obtain a FetchClient

Configure and obtain a FetchClient

Attributes

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
Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
FetchClientBuilder.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
final class FetchEventContext[F[_]]

Attributes

Companion:
object
Source:
FetchEventContext.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
FetchEventContext.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
sealed abstract class FetchOptions extends Product with Serializable

Options to pass to Fetch when using a FetchClient

Options to pass to Fetch when using a FetchClient

Attributes

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.

Companion:
object
Source:
FetchOptions.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
FetchOptions.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed abstract class FetchReferrer extends Renderable

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
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Client.type
object NoReferrer.type
class Path

Attributes

Companion:
class
Source:
FetchReferrer.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Source:
ServiceWorker.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source:
WebSocketClient.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Implicits

Implicits

implicit def blobEncoder[F[_]](implicit F: Async[F]): EntityEncoder[F, Blob]

Attributes

Source:
package.scala
implicit def fileEncoder[F[_]](implicit F: Async[F]): EntityEncoder[F, File]

Attributes

Source:
package.scala
implicit def readableStreamEncoder[F[_] : Async]: EntityEncoder[F, ReadableStream[Uint8Array]]

Attributes

Source:
package.scala