FetchReferrer

org.http4s.dom.FetchReferrer
See theFetchReferrer companion object
sealed abstract class FetchReferrer extends Renderable

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

Members list

Concise view

Value members

Inherited methods

Base method for rendering this object efficiently

Base method for rendering this object efficiently

Attributes

Inherited from:
Renderable
Source:
Renderable.scala

Generates a String rendering of this object

Generates a String rendering of this object

Attributes

Inherited from:
Renderable
Source:
Renderable.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Renderable -> Any
Inherited from:
Renderable
Source:
Renderable.scala