KeepAlive

zio.http.Header.Connection.KeepAlive
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.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Connection
trait Header
class Object
trait Matchable
class Any
Show all
Self type
KeepAlive.type

Members list

Type members

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton

Attributes

Inherited from:
Singleton
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Attributes

Inherited from:
Singleton
type MirroredType = Singleton.this.type

Attributes

Inherited from:
Singleton
override type Self = Connection

Attributes

Inherited from:
Connection

Value members

Inherited methods

def fromProduct(p: Product): MirroredMonoType

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton
def headerName: String

Attributes

Inherited from:
Header
override def headerType: Typed[Connection]

Attributes

Definition Classes
Inherited from:
Connection
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def renderedValue: String

Attributes

Inherited from:
Header
override def self: Self

Attributes

Definition Classes
Inherited from:
Connection

Concrete fields

override val value: String

Inherited fields

lazy val untyped: Custom

Attributes

Inherited from:
Header