Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Last active February 7, 2019 00:55
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save dcomartin/a25754514976859e7426de8a6b6ff0ca to your computer and use it in GitHub Desktop.
var connection = new signalR.HubConnectionBuilder()
.withUrl("/messages", {
accessTokenFactory: () => "MyTokenGoesHere" // Return access token
})
.build();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment