Package-level declarations

Types

Link copied to clipboard
sealed interface BinaryType
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
open class WebSocket(val url: String, val protocol: String = definedExternally) : EventTarget

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.

Properties

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

Functions

Link copied to clipboard