IConnection.CreateCoapRequest()

DESCRIPTION

Create a coap request object. The returned CoapRequest object must be kept alive while in use.

DECLARATION

Nabto.Edge.Client.ICoapRequest CreateCoapRequest(System.String, System.String)

PARAMETERS

  • method: CoAP request method e.g. GET, POST or PUT
  • path: CoAP request path e.g. /hello-world

ERRORS

  • T:Nabto.Edge.Client.AllocationException: if the underlying SDK failed to create the request

RETURNS

the created CoapRequest object.