EofStream and websocket.receive_* functions #6800
Labels
bug
good first issue
Good for newcomers
Hacktoberfest
We think it's good for https://hacktoberfest.digitalocean.com/
aiohttp 3.8.1
await websocket.receive_json()
Will die withTypeError
onWSMsgType.CLOSED
.#2784 is fixed, yes:
Yes, bug is fixed in iterator but NOT fixed for
websocket.receive_*
functions, likereceive_json()
I would raise RuntimeError or so if corresponding message "type" (like bytes, str, or json) can not be received.
The text was updated successfully, but these errors were encountered: