Connection.setServerKey()

DESCRIPTION

Set the server key associated with this client application through the Nabto Cloud Console.

DECLARATION

    public func setServerKey(key: String) throws 

PARAMETERS

key:
The server key to use.

THROWS ERRORS

INVALID_STATE:
if connection already established