Relay.Client
Relay.Client is the basic connection to RELAY, allowing you send commands to RELAY and setup handlers for inbound events.
Constructor
Constructs a client object to interact with RELAY.
Parameters
Examples
Create a Client to interact with the RELAY API.
Properties
Methods
Connect()
Activates the connection to the RELAY API. The connection to RELAY does not happen automatically so that you can setup handlers to events that might occur before the connection is successfully established.
Returns
error
Examples
Disconnect()
Disconnect the client from RELAY.
Returns
error
Examples
Events
All available events you can attach a listener on.