-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Pusher adapter nodejs examples #102
base: pusher-adapter-nodejs
Are you sure you want to change the base?
Update Pusher adapter nodejs examples #102
Conversation
const pusherRealtime = new Pusher('appid.keyid', { // replace with first part of API key before : | ||
wsHost: 'realtime-pusher.ably.io', | ||
wsPort: 443, | ||
disableStats: false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't disableStats
be true
? https://faqs.ably.com/using-the-ably-pusher-protocol-adapter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, I am not sure what it does .... but when I tested it, everything seem to work. Is it supposed to be removed?
package.json
with the latest dependencies.example.js
, refactored symbols, and comments.client.js
andserver.js
to test pusher library.client-events.js
to test events across clients.