Function: connected()
function connected(request, context): Promise<void>;
Defined in: functions/socket.ts:41
connected - Socket.IO connected callback
This callback fires when a socket.io connection successfully connects to WebPubSub. If the connected user was still in a room, notify room members that the user has come back online.
Parameters
| Parameter | Type | Description |
|---|---|---|
request | SocketIOTrigger | The SocketIODataTrigger |
context | InvocationContext | The Invocation Context (metadata) |
Returns
Promise<void>