Interfaces #
I
v
CloseEvent
The CloseEvent interface represents an event that occurs when a WebSocket connection is closed.
I
I
v
WebSocket
Provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection.
I
I
I
v
I
WebSocketEventMap
Interface mapping WebSocket event names to their corresponding event types.
Used for strongly typed event handling with addEventListener and removeEventListener.
I
Type Aliases #
T