ClassDescriptionRepresents a WebSocket binary message.A strict
BinaryMessagethat contains the complete data as a
ByteString.The ADT for WebSocket messages.A PeerClosedConnectionException will be reported to the WebSocket handler if the peer has closed the connection.Represents a WebSocket text message.A strict
TextMessagethat contains the complete data as a
String.Deprecated.This low-level API has been replaced by an attribute.Represents a WebSocket request.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.Represents the response to a websocket upgrade request.