WebSocketFlowHandler

play.core.server.common.WebSocketFlowHandler

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

object MessageType extends Enumeration

Attributes

Supertypes
class Enumeration
trait Serializable
class Object
trait Matchable
class Any
Self type
case class RawMessage(messageType: Type, data: ByteString, isFinal: Boolean, directAnswer: Boolean)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def webSocketProtocol(bufferLimit: Int, wsKeepAliveMode: String, wsKeepAliveMaxIdle: Duration): BidiFlow[RawMessage, Message, Message, Message, NotUsed]

Implements the WebSocket protocol, including correctly handling the closing of the WebSocket, as well as other control frames like ping/pong.

Implements the WebSocket protocol, including correctly handling the closing of the WebSocket, as well as other control frames like ping/pong.

Attributes

Deprecated methods

Implements the WebSocket protocol, including correctly handling the closing of the WebSocket, as well as other control frames like ping/pong.

Implements the WebSocket protocol, including correctly handling the closing of the WebSocket, as well as other control frames like ping/pong.

Attributes

Deprecated
true