ICoapResponse.GetResponseContentFormat()

DESCRIPTION

The CoAP response content format.

DECLARATION

UInt16 GetResponseContentFormat()

ERRORS

  • T:Nabto.Edge.Client.NabtoException: Thrown with error code NO_DATA if the response does not have a content format.
  • T:Nabto.Edge.Client.NabtoException: Thrown with error code INVALID_STATE if no response is ready.

RETURNS

the CoAP response content format.