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