IPWorks IoT 2020 Python Edition

Questions / Feedback?

pending_request_method Property

The request's method.

Syntax

def get_pending_request_method(pending_request_index: int) -> int: ...

Default Value

0

Remarks

The request's method.

This property reflects the request's method code, which must be a value in the range 0 to 31. The following table provides a (non-exhaustive) list of some of the more common method codes; refer to the IANA's CoAP Method Codes registry for a full list.

Method Code Name
1 GET
2 POST
3 PUT
4 DELETE
5 FETCH
6 PATCH

The pending_request_index parameter specifies the index of the item in the array. The size of the array is controlled by the pending_request_count property.

This property is read-only.

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