WebSocketHandlers

io.github.positionpal.server.ws.v1.WebSocketHandlers

Object that contains the Flow handlers for websocket connections.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def connect(clientID: ClientID, groupID: String, service: GroupHandlerService[Future, CommunicationProtocol])(using ec: ExecutionContext): Flow[Message, Message, _]

Create a Flow used for communicating messages between a client and a group

Create a Flow used for communicating messages between a client and a group

Value parameters

clientID

The identifier of the client that is connecting

ec

The implicit execution context

groupID

The identifier of the group in which we should connect

service

The implicit service that handles the requests

Attributes

Returns

A flow used for handling websoscket connections.