Connect Method
Connects to the Azure Relay Service.
procedure Connect();
Remarks
Connect establishes a WebSocket connection to the Azure Relay Service. The following properties are applicable when calling this method:
- AccessKey (required)
- AccessKeyName (required)
- HybridConnection (required)
- NamespaceAddress (required)
- Timeout
After the connection is established data may be sent by setting the DataToSend property or by calling Send, SendText, or SendFile.
Incoming data is received through the DataIn event.
To disconnect call the Disconnect method.