object WebSocketFlowHandler
- Source
- WebSocketFlowHandler.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- WebSocketFlowHandler
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- case class RawMessage(messageType: Type, data: ByteString, isFinal: Boolean, directAnswer: Boolean = false) extends Product with Serializable
Value Members
- def parseCloseMessage(data: ByteString): CloseMessage
- def webSocketProtocol(bufferLimit: Int, wsKeepAliveMode: String, wsKeepAliveMaxIdle: Duration): BidiFlow[, , , Message, NotUsed]
Implements the WebSocket protocol, including correctly handling the closing of the WebSocket, as well as other control frames like ping/pong.
- object MessageType extends Enumeration
Deprecated Value Members
- def webSocketProtocol(bufferLimit: Int): BidiFlow[, , , 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.
- Annotations
- @deprecated
- Deprecated
(Since version 2.8.19) Please specify the keep-alive mode (ping or pong) and max-idle time