SignalR/SignalR — Issue #167: Ability to the Query String from the client and then access it in a hub.
Author: ielbury
Created: 2012-01-31 20:01:11+00:00
State: open

There are circumstances where the client needs to pass data to a hib when a connection is being created. It would be nice to add data to the query string and have the data passed everytime there is a connect/reconnect. This allows for scenerious where a hub can rehydrate itself after it's app domain has shutdown and then restarted.

I have made the changes here 2158f85e84778ec4f135fd2641405ba46d858c30 .

Usage:

$.connection.device.start($.connection.hub.start({qs:{ deviceId: myDeviceId}, transport: ['serverSentEvents', 'longPolling']});