nabto_device_service_invocation_get_response_status_code()

DESCRIPTION

Get the status code from the service invocation, the behavior is undefined if the invocation failed or has not yet been invoked.

DECLARATION

NABTO_DEVICE_DECL_PREFIX uint16_t NABTO_DEVICE_API
nabto_device_service_invocation_get_response_status_code(NabtoDeviceServiceInvocation* serviceInvocation)

PARAMETERS

serviceInvocation:
[in] The service invocation object.

RETURNS

The HTTP status code