Package-level declarations

Types

Link copied to clipboard
sealed external interface BinaryType
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
external interface CloseEventInit : EventInit
Link copied to clipboard
Link copied to clipboard
sealed external class CloseEventTypes_deprecated
Link copied to clipboard
open external class WebSocket(url: String, protocols: String = definedExternally) : EventTarget

Provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard