Skip to content

Contains source code for the JavaScript and Node versions of the Quickstart guide

License

Notifications You must be signed in to change notification settings

ably/quickstart-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ably Quickstart

This repository contains the Quickstart guide JavaScript source code for both the callback and promises interfaces.

There are two folders:

  • promises contains the Quickstart code in Node.js and JavaScript (in index.html) using the promises interface. A usage guide is also provided.
  • callbacks contains the Quickstart code in Node.js using callbacks.

Authentication

You will generally need to point your client at an authentication server by specifying an authUrl. For example:

const ably = new Ably.Realtime.Promise({ authUrl: 'https://ably.com/ably-auth/token/docs' });

NOTE: The authentication server https://ably.com/ably-auth/token/docs is only specified to provide an example and should not be used for production use.

About

Contains source code for the JavaScript and Node versions of the Quickstart guide

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published