Constructs a new builder
Sets this message as confirmable
Build the request, set it in flight and return the future handle to it.
Sets this message as non-confirmable
Set the payload for this request
Build the request, set it in flight and return the future handle to it.
Set the token to use for this request
The payload
The request code
The token
The message type
This allows one to build up a new CoAP request of some form in a method-call-by-method-call manner.
In order to instantiate one of these please do so via the CoapClient.