Created
June 7, 2018 21:12
-
-
Save dcomartin/b11590d7c6fb3e86f0e26d5c39959c78 to your computer and use it in GitHub Desktop.
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 connection = new signalR.HubConnectionBuilder() | |
.withUrl(`/chatHub?token=${token}`) | |
.configureLogging(signalR.LogLevel.Information) | |
.build(); | |
connection.start().catch(err => console.error(err.toString())); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment