ICoapResponse.GetResponsePayload()

DESCRIPTION

The CoAP payload, if the status indicates such.

DECLARATION

Byte[] GetResponsePayload()

ERRORS

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

RETURNS

the CoAP response payload.