sockjs-tornado icon indicating copy to clipboard operation
sockjs-tornado copied to clipboard

Support for other keyword arguments than session_id in URL

Open yunmanger1 opened this issue 12 years ago • 0 comments

Hello,

I think it would be nice to be able to support other URL arguments. For example we could use it like this:

SockJSRouter(IMHOConnection, r'/game/(?P<obj_id>[^/.]+))

and then in IMHOConnection:

self.session.handler.kwargs.get('obj_id')

yunmanger1 avatar Dec 28 '12 10:12 yunmanger1