Package org.apache.pekko.http.scaladsl.model.ws
package org.apache.pekko.http.scaladsl.model.ws
-
ClassDescriptionRepresents a WebSocket binary message.A strict
BinaryMessagethat contains the complete data as apekko.util.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 strictTextMessagethat contains the complete data as aString.Signals that no WebSocket frame was received or sent within the configuredreceive-idle-timeoutorsend-idle-timeout(seepekko.http.scaladsl.settings.WebSocketSettings).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.