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