HostService

org.http4s.server.middleware.VirtualHost.HostService
final case class HostService[F[_], G[_]](http: Http[F, G], p: Host => Boolean)

Specification of the virtual host service and predicate.

The predicate receives the the Host header information with the port filled in, if possible, using the request Uri or knowledge of the security of the underlying transport protocol.

Attributes

Source
VirtualHost.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product