CoapResponseReceiver()
DESCRIPTION
Callback invoked when a CoAP response is ready or a CoAP request has failed.
DECLARATION
public typealias CoapResponseReceiver = (NabtoEdgeClientError, CoapResponse?) -> Void
PARAMETERS
NabtoEdgeClientError:
- error code indicating if request succeeded
CoapResponse:
- Resulting CoAP response if the error code was OK