ICoapRequest.SetRequestPayload()
DESCRIPTION
Set payload and content format for the payload.
DECLARATION
Void SetRequestPayload(UInt16, Byte[])
PARAMETERS
contentFormat: See https://www.iana.org/assignments/core-parameters/core-parameters.xhtml, some often used values are defined in ContentFormat.data: Data for the request encoded as specified in thecontentFormatparameter.
ERRORS
T:Nabto.Edge.Client.NabtoException: Thrown with error codeFAILEDif payload could not be set