Function: roomRequest()
roomRequest(
request,context):Promise<void>
Defined in: functions/events.ts:115
room:request - Triggered when a user requests to join a room
This callback fires when a user requests to join a specific room
Supplied data from client should equal:
{ roomId: theRoomUUID }
If the user is already approved for the requested rooom, join events and add the socket to the room. If not approved, dispatch a room:wait event.
Parameters
request
SocketIODataTrigger
The SocketIODataTrigger
context
InvocationContext
The Invocation Context (metadata)
Returns
Promise<void>