WebSocketHandlers.onOpen(conn: IWebSocketConnection,context: WebSocketConnectionContext): void | Promise<void>
Called once per connection, after the handshake completes.
conn: IWebSocketConnection
The new connection
context: WebSocketConnectionContext
Details of the upgrade request