Connection.createCoap()
DESCRIPTION
Create a coap request/response object. The returned Coap object must be kept alive while in use.
DECLARATION
Coap createCoap(String method, String path)
PARAMETERS
method:
- CoAP request method e.g. GET, POST or PUT
path:
- CoAP request path e.g. /hello-world
RETURNS
the created coap object.