connector

Initiates a connection to a webpocket server once and simplifies the connection with some helper methods.

Classes

Connector

Members

(inner, constant) inst

An instance of Connector. Use this to interact with this API.
Source:

Type Definitions

connectorCallback(The)

Source:
Parameters:
Name Type Description
The Message message response.

Message

Properties:
Name Type Description
type string The type of message
uuid string The unique id of the message
sender string sender service or sender client address
pref_dest string sender service or sender client address
content Object the payload of the message
Source:
See:
Type:
  • Object