Events methods
This is the collection of events methods within the WsServerDurableObject class. There are only two events methods, onClientId and onPathId.
onClientId
The onClientId method is called when a client connects to, or disconnects from, the server.
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.