SecWebSocketVersionClient

final implicit
class SecWebSocketVersionClient(request: HttpRequest) extends AnyVal

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

class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def getSecWebSocketVersionClient: Option[Seq[String]]

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

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

Tests for Sec-WebSocket-Version-Client header.

Tests for Sec-WebSocket-Version-Client header.

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

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

def secWebSocketVersionClient: Seq[String]

Gets Sec-WebSocket-Version-Client header values.

Gets Sec-WebSocket-Version-Client header values.

Throws
HeaderNotFound

if Sec-WebSocket-Version-Client is not present

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.

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.