Before the final release of signalR core. I was able to send the transport when defining a new HubConnection (JavaScript)
var cnn = new signalR.HubConnection("/myhub",
{transport : signalrR.TransportType.LongPolling});
this doesn't work anymore. And i was not able to find any documentation / sample yet.
A sample or a link to the documentation would be much appreciated.
Here is a sample adapted from HubConnectionBuilder.test.ts:
withUrl
also acceptsIHttpConnectionOptions
so this would work too: