A Bun ServerWebSocket, narrowed to what this adapter drives.
ServerWebSocket
0.2.0
Readonly
The data bag supplied to server.upgrade().
server.upgrade()
Numeric ready state, per the web WebSocket API.
Closes the socket.
Optional
RFC 6455 close code
Close reason
Sends a text or binary frame.
The frame payload
A Bun
ServerWebSocket, narrowed to what this adapter drives.Since
0.2.0