Current transport state
Whether the transport is currently connected
Currently connected clients
Get the actual port the server is listening on
Register an event listener
Remove an event listener
Register a one-time event listener
Protected emitEmit an event
Remove all listeners for an event, or all events
Optional event: KGet the number of listeners for an event
Send a message through the transport
Promise that resolves when the message is sent (not when response is received)
Register handler for incoming messages from clients
Register handler for client connections
Register handler for client disconnections
Optional reason: stringSend a message to a specific client
Broadcast a message to all connected clients
Interface for server-side transports