IPWorks IoT 2020 Python Edition

Questions / Feedback?

request_data Property

The request data.

Syntax

def get_request_data() -> bytes: ...
def set_request_data(value: bytes) -> None: ...

request_data = property(get_request_data, set_request_data)

Default Value

""

Remarks

When the class is operating in client mode (i.e., the listening property is disabled), this property specifies the data that should be included in requests sent using post, put, or send_custom_request.

When the class is operating in server mode (i.e., the listening property is enabled), this property is populated with the data included in incoming requests (if any) anytime the on_request event fires.

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