Referer

zio.http.Header.Referer
See theReferer companion object
final case class Referer(url: URL) extends Header

The Referer HTTP request header contains the absolute or partial address from which a resource has been requested. The Referer header allows a server to identify referring pages that people are visiting from or where requested resources are being used. This data can be used for analytics, logging, optimized caching, and more.

When you click a link, the Referer contains the address of the page that includes the link. When you make resource requests to another domain, the Referer contains the address of the page that uses the requested resource.

The Referer header can contain an origin, path, and querystring, and may not contain URL fragments (i.e. #section) or username:password information. The request's referrer policy defines the data that can be included. See Referrer-Policy for more information and examples.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all

Members list

Type members

Types

override type Self = Referer

Value members

Concrete methods

override def headerType: Typed[Referer]

Attributes

Definition Classes
override def self: Self

Attributes

Definition Classes

Inherited methods

def headerName: String

Attributes

Inherited from:
Header
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def renderedValue: String

Attributes

Inherited from:
Header

Inherited fields

lazy val untyped: Custom

Attributes

Inherited from:
Header