-
-
Save rachitpsolanki/27037d160ce21dffe11858f79f9ac0dd to your computer and use it in GitHub Desktop.
Authenticating using pusher
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const channels = new Pusher(APP_KEY, { | |
cluster: APP_CLUSTER, | |
authEndpoint: '/your_auth_endpoint' | |
}); | |
const channel = channels.subscribe('private-<channel-name>'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment