Class: WebSocketConnector

connector.WebSocketConnector(url)

new WebSocketConnector(url)

Parameters:
Name Type Description
url String
Source:

Members

(static) websockets :Array.<connector.Connector>

Map of all available connectors to their respective websocket connections

Type:
  • Array.<connector.Connector>
Source:

Methods

(static) create(connector, urlopt) → {connector.WebSocketConnector}

Parameters:
Name Type Attributes Description
connector connector.Connector

a connector

url String <optional>

The websocket connect script url

Source:
Returns:

a websocket connection

Type
connector.WebSocketConnector

openStream(tokenStorage, id) → {connector.ObservableStream}

Parameters:
Name Type Description
tokenStorage util.TokenStorage
id string

subscription ID

Source:
Returns:

The channel for sending and receiving messages

Type
connector.ObservableStream