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