Interface | Description |
---|---|
BinaryMessage |
Represents a WebSocket binary message.
|
Message |
The ADT for WebSocket messages.
|
TextMessage |
Represents a WebSocket text message.
|
UpgradeToWebSocket | Deprecated
This low-level API has been replaced by an attribute.
|
WebSocketUpgrade |
An attribute that will be added to an WebSocket upgrade HttpRequest that
enables a request handler to upgrade this connection to a WebSocket connection and
registers a WebSocket handler.
|
WebSocketUpgradeResponse |
Represents the response to a websocket upgrade request.
|
Class | Description |
---|---|
BinaryMessage.Streamed | |
BinaryMessage.Streamed$ | |
BinaryMessage.Strict |
A strict
BinaryMessage that contains the complete data as a pekko.util.ByteString . |
BinaryMessage.Strict$ | |
BinaryMessage$ | |
InvalidUpgradeResponse | |
InvalidUpgradeResponse$ | |
TextMessage.Streamed | |
TextMessage.Streamed$ | |
TextMessage.Strict |
A strict
TextMessage that contains the complete data as a String . |
TextMessage.Strict$ | |
TextMessage$ | |
ValidUpgrade | |
ValidUpgrade$ | |
WebSocketRequest |
Represents a WebSocket request.
|
WebSocketRequest$ |
Exception | Description |
---|---|
PeerClosedConnectionException |
A PeerClosedConnectionException will be reported to the WebSocket handler if the peer has closed the connection.
|