interface
WebSocketEventMap
interface WebSocketEventMap
- ping: MessageEvent
Fired when a Ping frame is received. Bun has already replied with a Pong.
datais the payload, typed according tobinaryType. Not available in browsers. - pong: MessageEvent
Fired when a Pong frame is received.
datais the payload, typed according tobinaryType. Not available in browsers.