Connection.updateOptions()

DESCRIPTION

Set connection parameters through a JSON document.

The provided options are merged with the already set options. n error is returned if a parameter is not recognized. This only updates the internal representation of parameters.

Options are set in a JSON document as follows: <code> { "ProductId": "pr-12345678", "DeviceId": "de-12345678", "ServerUrl": "<a href="https://pr-12345678.clients.nabto.net"">https://pr-12345678.clients.nabto.net"</a>, "ServerKey": "sk-12345678123456781234567812345678" } </code>

The following options are supported:

DECLARATION

    void updateOptions(String json)

PARAMETERS

json:
a string of valid json.

ERRORS

Throws the following exceptions:

None.

RETURN VALUES

None.

EXAMPLES

None.