KeepAlive

scamper.http.headers.KeepAlive
final class KeepAlive[T <: HttpMessage](message: T) extends AnyVal

Adds standardized access to Keep-Alive header.

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def hasKeepAlive: Boolean

Tests for Keep-Alive header.

Tests for Keep-Alive header.

Attributes

Gets Keep-Alive header value.

Gets Keep-Alive header value.

Attributes

Throws
HeaderNotFound

if Keep-Alive is not present

Gets Keep-Alive header value if present.

Gets Keep-Alive header value if present.

Attributes

Creates new message with Keep-Alive header removed.

Creates new message with Keep-Alive header removed.

Attributes

Creates new message with Keep-Alive header set to supplied value.

Creates new message with Keep-Alive header set to supplied value.

Attributes