Pubsub subscriber / resubscriber example

Pubsub is documented here:

Pay attention to the connection management about ping/pong.

  1. Connect to pubsub using language of choice that supports websockets
  2. On connect send the listen command using the topic channel-subscribe-events-v1.<channel ID>
  3. Wait for messages and parse them