File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -656,7 +656,7 @@ WebSocketResponse
656
656
657
657
A :ref: `coroutine<coroutine> ` that waits for socket handshake
658
658
finish and raises
659
- :exc: `~aiohttp.errors.WebSocketDisconnectedError ` at the end.
659
+ :exc: `~aiohttp.errors.WSClientDisconnectedError ` at the end.
660
660
661
661
Use the method only from write-only tasks, please call one of
662
662
:meth: `receive_str `, :meth: `receive_bytes ` or
@@ -678,14 +678,14 @@ WebSocketResponse
678
678
It process *ping-pong game * and performs *closing handshake * internally.
679
679
680
680
After websocket closing raises
681
- :exc: `~aiohttp.errors.WebSocketDisconnectedError ` with
681
+ :exc: `~aiohttp.errors.WSClientDisconnectedError ` with
682
682
connection closing data.
683
683
684
684
:return: :class: `~aiohttp.websocket.Message `
685
685
686
686
:raise RuntimeError: if connection is not started
687
687
688
- :raise: :exc: `~aiohttp.errors.WebSocketDisconnectedError ` on closing.
688
+ :raise: :exc: `~aiohttp.errors.WSClientDisconnectedError ` on closing.
689
689
690
690
.. method :: receive_str()
691
691
You can’t perform that action at this time.
0 commit comments