Coap.setRequestPayload()

DESCRIPTION

Set the payload for the request.

DECLARATION

    void setRequestPayload(int contentFormat, byte[] payload)

PARAMETERS

contentFormat:
Contentformat of the payload.
payload:
The payload to set.