SecWebSocketProtocolClient

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

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

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

Tests for Sec-WebSocket-Protocol-Client header.

Tests for Sec-WebSocket-Protocol-Client header.

Attributes

Gets Sec-WebSocket-Protocol-Client header value.

Gets Sec-WebSocket-Protocol-Client header value.

Attributes

Throws
HeaderNotFound

if Sec-WebSocket-Protocol-Client is not present

def secWebSocketProtocolClientOption: Option[String]

Gets Sec-WebSocket-Protocol-Client header value if present.

Gets Sec-WebSocket-Protocol-Client header value if present.

Attributes

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

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

Attributes

Creates new request with Sec-WebSocket-Protocol-Client header set to supplied value.

Creates new request with Sec-WebSocket-Protocol-Client header set to supplied value.

Attributes