Packages

o

play.core.server.common

WebSocketFlowHandler

object WebSocketFlowHandler

Source
WebSocketFlowHandler.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WebSocketFlowHandler
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class RawMessage(messageType: Type, data: ByteString, isFinal: Boolean) extends Product with Serializable

Value Members

  1. def parseCloseMessage(data: ByteString): CloseMessage
  2. def webSocketProtocol(bufferLimit: Int): 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.

  3. object MessageType extends Enumeration