Coap()
DESCRIPTION
The CoAP API.
The CoAP API allows exchange of CoAP message on top of a Nabto connection between a client and device. This is conceptually similar to Nabto 4 RPC but much more robust and complete.
Coap instances are created using the Connection.createCoap() factory method. The Coap object must be kept alive while in use.
DECLARATION
public interface Coap extends AutoCloseable