Docs
Reference
Guides
Blog
Discord
/
Bun
/
WebSocketEventMap
WebSocketEventMap
P
close
P
error
P
message
P
open
Search the reference...
/
Docs
Reference
Guides
Blog
Discord
/
Bun
/
WebSocketEventMap
WebSocketEventMap
P
close
P
error
P
message
P
open
Symbol
WebSocketEventMap
interface
WebSocketEventMap
close
:
CloseEvent
error
:
Event
message
:
new
(
type
:
string
,
eventInitDict
?
:
MessageEventInit
<
T
>
)
=>
MessageEvent
<
T
>
open
:
Event