Connection.close()

DESCRIPTION

Close this connection gracefully, ie send explicit close to the other peer. Blocks until the connection is closed.

DECLARATION

    public func close() throws 

PARAMETERS

None.

ERRORS

Throws the following errors:

a:
NabtoEdgeClientError if an error occurs during close.

RETURN VALUES

None.

EXAMPLES

None.