nabto_device_coap_request_get_parameter()

DESCRIPTION

Get a parameter from a coap requests. If the parameter does not exist NULL is returned. The lifetime for the returned value is no longer than the lifetime of the NabtoDeviceCoapRequest.

DECLARATION

NABTO_DEVICE_DECL_PREFIX const char* NABTO_DEVICE_API
nabto_device_coap_request_get_parameter(NabtoDeviceCoapRequest* request, const char* parameterName)

PARAMETERS

request:
[in] The request to get parameter from
parameterName:
[in] Zero terminated UTF8 string name of parameter

RETURN VALUES

reference to parameter value, NULL on errors

EXAMPLES

None.