Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
open external class CloseEvent(val type: EventType<CloseEvent>, init: CloseEventInit = definedExternally) : Event
A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute.
Link copied to clipboard
Link copied to clipboard
Provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection.