Instantly share code, notes, and snippets.

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