MrJoes/tornadio2 — Issue #13: Multiplexed connection does not receive query string arguments
Author: Alerion
Created: 2011-12-29 13:16:27+00:00
State: open

For example:

class UserConnection(tornadio2.conn.SocketConnection):

def on_open(self, info):
print info.arguments # {}

class RouterConnection(tornadio2.conn.SocketConnection):
__endpoints__ = {
'/user': UserConnection
}

Connection:

var s = new io.connect('http://' + window.location.hostname + ':8002/user?sid=100500', {
rememberTransport: false
});

Did I miss something?
I fount one way: save `request.arguments` in `tornadio2.session.Session.__init__` and add them to `ConnectionInfo` in `tornadio2.session.Session.connect_endpoint` method.