SecWebSocketVersionClient

scamper.http.websocket.SecWebSocketVersionClient
final class SecWebSocketVersionClient(request: HttpRequest) extends AnyVal

Adds standardized access to Sec-WebSocket-Version-Client header.

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

Tests for Sec-WebSocket-Version-Client header.

Tests for Sec-WebSocket-Version-Client header.

Attributes

def secWebSocketVersionClient: Seq[String]

Gets Sec-WebSocket-Version-Client header values.

Gets Sec-WebSocket-Version-Client header values.

Attributes

Throws
HeaderNotFound

if Sec-WebSocket-Version-Client is not present

def secWebSocketVersionClientOption: Option[Seq[String]]

Gets Sec-WebSocket-Version-Client header values if present.

Gets Sec-WebSocket-Version-Client header values if present.

Attributes

Creates new request with Sec-WebSocket-Version-Client header removed.

Creates new request with Sec-WebSocket-Version-Client header removed.

Attributes

def setSecWebSocketVersionClient(values: Seq[String]): HttpRequest

Creates new request with Sec-WebSocket-Version-Client header set to supplied values.

Creates new request with Sec-WebSocket-Version-Client header set to supplied values.

Attributes

def setSecWebSocketVersionClient(one: String, more: String*): HttpRequest

Creates new request with Sec-WebSocket-Version-Client header set to supplied values.

Creates new request with Sec-WebSocket-Version-Client header set to supplied values.

Attributes