Connection

zio.http.Header$.Connection$
See theConnection companion trait
object Connection extends HeaderType

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

case object Close extends Connection

This directive indicates that either the client or the server would like to close the connection. This is the default on HTTP/1.0 requests.

This directive indicates that either the client or the server would like to close the connection. This is the default on HTTP/1.0 requests.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Self type
Close.type
case object KeepAlive extends Connection

Any comma-separated list of HTTP headers [Usually keep-alive only] indicates that the client would like to keep the connection open. Keeping a connection open is the default on HTTP/1.1 requests. The list of headers are the name of the header to be removed by the first non-transparent proxy or cache in-between: these headers define the connection between the emitter and the first entity, not the destination node.

Any comma-separated list of HTTP headers [Usually keep-alive only] indicates that the client would like to keep the connection open. Keeping a connection open is the default on HTTP/1.1 requests. The list of headers are the name of the header to be removed by the first non-transparent proxy or cache in-between: these headers define the connection between the emitter and the first entity, not the destination node.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Self type

Types

override type HeaderValue = Connection

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

override def name: String

Attributes

Definition Classes
def parse(connection: String): Either[String, Connection]
def render(connection: Connection): String