SignalR/SignalR — pull request #291 by codeputty (2012-04-04 01:19:06+00:00)
Title: added long polling support via jsonp

added long polling support via jsonp for #6

- modified LongPollingTransport serialization to add the callback function if it was present in the query string
- updated LongPolling.ProcessSend to check query string for data since jsonp data must be a get
- added 'xdomain:bool' parameter in config options

Tested by creating a separate web app and and accessed /DemoHub/ sample.

Initialize by:
$.connection.hubs.url = "http://remote-host/signalr";
$.connection.start({transport:'longPolling', xdomain:true});