SecWebSocketKey
scamper.http.websocket.SecWebSocketKey
final class SecWebSocketKey(request: HttpRequest) extends AnyVal
Adds standardized access to Sec-WebSocket-Key header.
Attributes
- Graph
-
- Supertypes
-
class AnyValtrait Matchableclass Any
Members list
Value members
Concrete methods
Tests for Sec-WebSocket-Key header.
Tests for Sec-WebSocket-Key header.
Attributes
Gets Sec-WebSocket-Key header value.
Gets Sec-WebSocket-Key header value.
Attributes
- Throws
-
HeaderNotFound
if Sec-WebSocket-Key is not present
Gets Sec-WebSocket-Key header value if present.
Gets Sec-WebSocket-Key header value if present.
Attributes
Creates new request with Sec-WebSocket-Key header removed.
Creates new request with Sec-WebSocket-Key header removed.
Attributes
Creates new request with Sec-WebSocket-Key header set to supplied value.
Creates new request with Sec-WebSocket-Key header set to supplied value.
Attributes
In this article