We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
SockJS-Tornado is really cool project and I'm very glad to use it. But Ive got the problem related to the path kwargs . For example:
Everything works fine If I don't use named path kwargs:
ChatRouter = sockjs.tornado.SockJSRouter(ChatHandler, '/chat')
If I change the prefix like this:
ChatRouter = sockjs.tornado.SockJSRouter(ChatHandler, '/chat/(?P<room_id>[a-z0-9]{2,20})')
I will get the error When I try to connect to the chat:
Traceback (most recent call last): File "/Users/rlashchenkov/projects/env_msg/lib/python3.5/site-packages/tornado/web.py", line 1467, in _execute result = method(*self.path_args, **self.path_kwargs) TypeError: get() got an unexpected keyword argument 'room_id'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
SockJS-Tornado is really cool project and I'm very glad to use it. But Ive got the problem related to the path kwargs . For example:
Everything works fine If I don't use named path kwargs:
ChatRouter = sockjs.tornado.SockJSRouter(ChatHandler, '/chat')
If I change the prefix like this:
ChatRouter = sockjs.tornado.SockJSRouter(ChatHandler, '/chat/(?P<room_id>[a-z0-9]{2,20})')
I will get the error When I try to connect to the chat:
The text was updated successfully, but these errors were encountered: