-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to figure out the current transport type / protocol? #16
Comments
Due to way socket.io 0.7+ works, If it is desired functionality, I can add "last used transport" to the session, so you can access it via Right now you can check if there's active client connection by checking |
we're trying to get to it during an
|
If there's no active running connection (you queried in between polling On Mon, Jan 9, 2012 at 7:04 PM, Harry Percival <
|
We're getting |
I work with hjwp and we've decided that the only thing we're interested in is distinguishing between socket connections and polling connections. The current API provides that perfectly well. Thanks for your help. |
Hey,
in the old version of tornadio, we used to use the
_protocol
(private, i know) attribute on aSocketConnection
object to check whether a connection was websockets or flashsocket or xhr-polling or whatever.We can't find a similar way of doing it in the new API. Any suggestions?
The text was updated successfully, but these errors were encountered: