package ws
- Alphabetic
- Public
- All
Type Members
-
class
CloseEvent
extends Object with Event
A CloseEvent is sent to clients using WebSockets when the connection is closed.
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.
- Annotations
- @RawJSType() @native()
-
class
ErrorEvent
extends Object with Event
A MessageEvent is the interface representing a message received by a target, being a WebSocket or a WebRTC RTCDataChannel.
A MessageEvent is the interface representing a message received by a target, being a WebSocket or a WebRTC RTCDataChannel.
- Annotations
- @RawJSType() @native()
-
class
MessageEvent
extends Object with Event
Message Event
Message Event
- Annotations
- @RawJSType() @native()
-
class
OpenEvent
extends Object with Event
Open Event
Open Event
- Annotations
- @RawJSType() @native()
-
class
WebSocket
extends Object
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.
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.
- Annotations
- @RawJSType() @native()
- See also
https://developer.mozilla.org/en-US/docs/Web/API/WebSocket
https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API