Client.createConnection()

DESCRIPTION

Create a connection object.

The created connection can then be configured and opened.

DECLARATION

    public func createConnection() throws -> Connection 

PARAMETERS

None.

ERRORS

Throws the following errors:

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

RETURN VALUES

None.

EXAMPLES

None.