IPWorks MQ 2020 JavaScript Edition

Questions / Feedback?

Connect Method

Connects to the Azure Relay Service.

Syntax

async azurerelaysender.connect(): Promise<void>

Remarks

Connect establishes a WebSocket connection to the Azure Relay Service. The following properties are applicable when calling this method:

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks MQ 2020 JavaScript Edition - Version 20.0 [Build 8262]