0.0.1 • Published 5 years ago

occurrence-utils v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

Occurrence Client

An example of how to create an Occurrence client and register to events from Occurrence in a given domain.

Usage

Using the user details from the Client1 user created in the Occurrence Gateway Run tutorial, set the access token, client name, and domain name variables in index.ts correctly.

Ensure Gateway and Distributor are running and run following the commands below:

npm install
npm run start

The client should connect and be able to receive messages published through gateway on the registered domain.