Connection.updateOptions() Overload 1

DESCRIPTION

Set connection options. Options must be set prior to invoking connect().

DECLARATION

    public func updateOptions(options: ConnectionOptions) throws 

PARAMETERS

options:
The options to set

THROWS ERRORS

INVALID_ARGUMENT:
if input is invalid

Overload 2

DESCRIPTION

Set connection options. Options must be set prior to invoking connect(). This allows setting all the individual options available through the setXyz() functions (e.g., setPrivateKey()).

DECLARATION

    public func updateOptions(json: String) throws 

PARAMETERS

json:
The JSON document with options to set

THROWS ERRORS

INVALID_ARGUMENT:
if input is invalid