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

THROWS ERRORS

a:
NabtoEdgeClientError if an error occurs during close.