SignalR/SignalR — pull request #826 by NTaylorMullen (2012-10-20 00:33:12+00:00)
Title: Hub start stop fix

Hub start stop fix

In addition to the start stop fix I also removed the "onSending" event from the JS client. Prior to this we had a onSending and a onStarting event in the client side Javascript.

Sending was triggered in the transport start while Starting was triggered after a successful connection negotiation.

After talking to Damian we decided that this was a poor choice to have both event Handlers and therefore I combined them into one. The most difficult piece of this was ensuring that our dynamic /signalr/hubs generated hubs worked in addition to the $.hubConnection creation way that we provide developers.