SecWebSocketProtocolServer

scamper.http.websocket.SecWebSocketProtocolServer
final class SecWebSocketProtocolServer(response: HttpResponse) extends AnyVal

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

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

Tests for Sec-WebSocket-Protocol-Server header.

Tests for Sec-WebSocket-Protocol-Server header.

Attributes

Gets Sec-WebSocket-Protocol-Server header value.

Gets Sec-WebSocket-Protocol-Server header value.

Attributes

Throws
HeaderNotFound

if Sec-WebSocket-Protocol-Server is not present

def secWebSocketProtocolServerOption: Option[String]

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

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

Attributes

Creates new response with Sec-WebSocket-Protocol-Server header removed.

Creates new response with Sec-WebSocket-Protocol-Server header removed.

Attributes

Creates new response with Sec-WebSocket-Protocol-Server header set to supplied value.

Creates new response with Sec-WebSocket-Protocol-Server header set to supplied value.

Attributes