A web-API socket that exposes the on* handler properties, as Deno's upgradeWebSocket socket does.
on*
upgradeWebSocket
0.2.0
Fires once on close.
Fires on transport error.
Fires per inbound frame.
Fires once the socket is writable.
Readonly
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 web-API socket that exposes the
on*handler properties, as Deno'supgradeWebSocketsocket does.Since
0.2.0