![]() This will ensure that the basic authentication scheme is used, which is almost always the right choice for your own trusted servers where risk of compromise of your API key credentials is low.Īdd the following to a file named server.js to instantiate the Ably library inside your Node.js server: var Ably = require('ably') The server client library must be instantiated with the private API key you copied in Step 1. The NPM module can be installed as follows: npm install ably To start using Ably on your Node.js server, you first need to install the NPM module.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |