nabto_device_coap_request_get_connection_ref()

DESCRIPTION

Get a reference to the underlying connection on which the request was received.

DECLARATION

NABTO_DEVICE_DECL_PREFIX NabtoDeviceConnectionRef NABTO_DEVICE_API
nabto_device_coap_request_get_connection_ref(NabtoDeviceCoapRequest* request)

PARAMETERS

request:
[in] The request to get connection ref from

RETURNS

Reference to the connection on success 0 on error