Understanding WebSocket connections in WSX
WSXConnection
interface, providing a clean abstraction for real-time communication between clients and servers.
WSXConnection
instance that represents that specific connection:
sessionData
to store per-connection information:
sessionData
for user state, not global variables