Client.createConnection()

DESCRIPTION

Create a connection object.

The created connection can then be configured and opened. Returned object must be kept alive while in use.

DECLARATION

    public func createConnection() throws -> Connection 

THROWS ERRORS

NabtoEdgeClientError.ALLOCATION_ERROR:
if the underlying SDK fails creating a connection object