Skip to content
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

Advanced Usage block in README refers to WebSocket.environ, which doesn't exist. #80

Open
rosensama opened this issue Dec 28, 2020 · 0 comments

Comments

@rosensama
Copy link
Contributor

The Advanced Usage section in the README says that ws.environ should be used where ws = <flavor>WebSocket(app). However, WebSocket and descendants don't have an environ member.

It looks like a reference to the environ is only retained in the WebSocketClient instance which is not readily accessible from the WebSocket, so perhaps this wasn't implemented. #77 is a strong hint supporting that.

Can anyone recommend a way to access to the request context in a websocket route?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant