Document that WebSocketResponse.receive()
raises asyncio.TimeoutError
#3962
Labels
documentation
Improvements or additions to documentation
enhancement
good first issue
Good for newcomers
To be able to do anything useful with the timeout feature of
WebSocketResponse.receive()
you will probably want to catch the exceptions that occur. It's currently quite hard to find what exceptions will be raised on timeouts without digging through source code. I suggest documenting the fact.Related issue: #2906
receive()
in the documentation/reference: https://aiohttp.readthedocs.io/en/stable/web_reference.html#aiohttp.web.WebSocketResponse.receiveThe text was updated successfully, but these errors were encountered: