websocket - setting soket.io transports client-side -
In socket.io v0.9, I can set up available transport in my Javascript client (in the browser) so that:
io.transports = ["xhr-polling", "jsonp-polling"] How do I do the same thing in socket. O 1.0?
Worked here:
socket = io.connect ( "Http: //www.example.com", {transports: ['polling']})
Comments
Post a Comment