Skip to content

attach

attach(ws, o): void

For a plain ws server: wire one accepted socket to the hub.

WebSocket

SocketOptions

void