This repository has been archived by the owner. It is now read-only.
Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upHow to keep session alive when using async websockets? #491
Comments
|
@mllamazing please submit your questions to Also I can recommend to try to use aiohttp for websockets. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.


I have this code to interact with a websocket api using
asyncandwebsoketspython libraries:So I have the following in main.py:
The problem is that it doesn't preserve the authorized session, so this is the output:
As you see, the login call are working ok, but when calling and sending the
helloinsendtestfunction, the session is not the same.modifying my class structure)?