Package

io.scalajs.dom

ws

Permalink

package ws

Visibility
  1. Public
  2. All

Type Members

  1. class CloseEvent extends Object with Event

    Permalink

    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()
  2. class ErrorEvent extends Object with Event

    Permalink

    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()
  3. class MessageEvent extends Object with Event

    Permalink

    Message Event

    Message Event

    Annotations
    @RawJSType() @native()
  4. class OpenEvent extends Object with Event

    Permalink

    Open Event

    Open Event

    Annotations
    @RawJSType() @native()
  5. class WebSocket extends Object

    Permalink

    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

Value Members

  1. object WebSocket extends Object

    Permalink
    Annotations
    @native() @JSName( "WebSocket" )

Ungrouped