IPWorks MQ 2020 Python Edition

Questions / Feedback?

connect Method

Connects to the Azure Relay Service.

Syntax

def connect() -> None: ...

Remarks

on_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 data_to_send property or by calling send, send_text, or send_file.

Incoming data is received through the on_data_in event.

To disconnect call the disconnect method.

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