Reputation: 81
How do I determine if a connection is using websockets, SSE, foreverframe, or long polling on the server?
Upvotes: 2
Views: 1089
Reputation: 2840
You can determine the transport method by getting it from the querystring in your hub, like so:
string transport = Context.QueryString["transport"];
Upvotes: 2