KeepAlive

final implicit
class KeepAlive[T <: HttpMessage](message: T) extends AnyVal

Provides standardized access to Keep-Alive header.

class AnyVal
trait Matchable
class Any

Value members

Concrete methods

Gets Keep-Alive header value if present.

Gets Keep-Alive header value if present.

def hasKeepAlive: Boolean

Tests for Keep-Alive header.

Tests for Keep-Alive header.

Gets Keep-Alive header value.

Gets Keep-Alive header value.

Throws
HeaderNotFound

if Keep-Alive is not present

Creates new message removing Keep-Alive header.

Creates new message removing Keep-Alive header.

Creates new message setting Keep-Alive header to supplied value.

Creates new message setting Keep-Alive header to supplied value.