nabto_device_virtual_coap_request_set_content_format()

DESCRIPTION

Set the content format of a given virtual CoAP request. This should follow the content format definitions defined by IANA (same as HTTP).

DECLARATION

    NABTO_DEVICE_DECL_PREFIX NabtoDeviceError NABTO_DEVICE_API
        nabto_device_virtual_coap_request_set_content_format(NabtoDeviceVirtualCoapRequest* request, uint16_t format)

PARAMETERS

request:
[in] The request to set content format on
format:
[in] The format to set

RETURNS

NABTO_DEVICE_EC_OK on success