Host

org.http4s.headers.Host
See theHost companion object
final case class Host(host: String, port: Option[Int])

A Request header, that provides the host and port information

 The "Host" header field in a request provides the host and port
 information from the target URI, enabling the origin server to
 distinguish among resources while servicing requests for multiple
 host names on a single IP address.

This header was mandatory in version 1.1 of the Http protocol.

RFC-7230 Section 5.4

Attributes

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

Members list

Concise view

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product