Global

Methods

connect() → {ClientAPI}

Create a connection to the given server.

Source:
Returns:

The client API as described in module:ClientAPI.

Type
ClientAPI

fromFile() → {ClientAPI}

Create a client that connects to the specified json file. This storage is (currently) not persistent.

Source:
Returns:

The client API to the file store as described in module:ClientAPI.

Type
ClientAPI

fromJSON() → {ClientAPI}

Create a client that connects to the specified json document. This storage is not persistent.

Source:
Returns:

The client API to the JSON store as described in module:ClientAPI.

Type
ClientAPI