MrJoes/tornadio2 — Issue #16: how to figure out the current transport type / protocol?
Author: hjwp
Created: 2012-01-09 16:01:50+00:00
State: open

Hey,

in the old version of tornadio, we used to use the `_protocol` (private, i know) attribute on a `SocketConnection` 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?