Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Created June 7, 2018 21:12
Embed
What would you like to do?
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