You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation says bare aiohttp.ws_connect is deprecated and ClientSession.ws_connect should be used instead.
However, the latter has less features than the former. ClientSession.ws_connect does not have the headers keyword argument to allow us to add any headers we want while aiohttp.ws_connect does.