Created
June 25, 2020 11:49
-
-
Save velotiotech/9369051e5661a95352f08b1fdd8bf9ed 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