Create a new CoAP request on this connection. Request must subsequently be executed. The returned CoapRequest object must be kep alive while in use.
public func createCoapRequest(method: String, path: String) throws -> CoapRequest
- The CoAP method (either
- The CoAP path (e.g.,
- if the request could not be created.