onClientId
The onClientId
method is called when a client connects to, or disconnects from, the server.
onClientId(
pathId: string,
clientId: string,
addedOrRemoved: IdAddedOrRemoved,
): void
Type | Description | |
---|---|---|
pathId | string | |
clientId | string | |
addedOrRemoved | IdAddedOrRemoved | |
returns | void | This has no return value. |
Since
v5.4.0