Coap.setRequestPayload()

DESCRIPTION

Set the payload for the request.

DECLARATION

    void setRequestPayload(int contentFormat, byte[] payload)

PARAMETERS

contentFormat:
a contentformat.
paylaod:
the payload.

ERRORS

Throws the following exceptions:

None.

RETURN VALUES

None.

EXAMPLES

None.