Options
All
  • Public
  • Public/Protected
  • All
Menu

Uses a browser Websocket.

Hierarchy

Index

Constructors

constructor

Methods

addListener

connect

createWebSocket

  • createWebSocket(endpoint: string): any
  • override

    Parameters

    • endpoint: string

      the url that will connected to

    Returns any

    • the specific implementation of a websocket

getBufferedAmount

  • getBufferedAmount(): number

getListeners

getProtocol

  • getProtocol(): string

getReadyState

getState

getUrl

  • getUrl(): String

isOpen

  • isOpen(): boolean

removeListener

sendClose

sendPing

sendPong

sendText

Static createInstance

  • Create an instance of this class

    Parameters

    • endpoint: string

    Returns BrowserWebSocketImpl

Generated using TypeDoc