SecWebSocketProtocolClient

final implicit class SecWebSocketProtocolClient(request: HttpRequest) extends AnyVal

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

class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def getSecWebSocketProtocolClient: Option[String]

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

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

Tests for Sec-WebSocket-Protocol-Client header.

Tests for Sec-WebSocket-Protocol-Client header.

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

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

Gets Sec-WebSocket-Protocol-Client header value.

Gets Sec-WebSocket-Protocol-Client header value.

Throws:
HeaderNotFound

if Sec-WebSocket-Protocol-Client is not present

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.