connect (method)

Connects to the Azure Relay Service.

Syntax

- (void)connect;
public func connect() throws -> 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 iOS Edition - Version 20.0 [Build 8155]