com.malliina.play.ws
Manages websockets.
To send a message to all connected clients: mediator ! Broadcast(myJsonMessage)
mediator ! Broadcast(myJsonMessage)
The actor created from mediatorProps will receive any messages sent from connected websockets.
mediatorProps
Builds actor Props of an authenticated client.
context for the client connection
Props of an actor that receives incoming messages
Manages websockets.
To send a message to all connected clients:
mediator ! Broadcast(myJsonMessage)
The actor created from
mediatorProps
will receive any messages sent from connected websockets.