File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ class ClientConnection(Connection):
5050 async for message in websocket:
5151 await process(message)
5252
53- The iterator exits normally when the connection is closed with close code
53+ The iterator exits normally when the connection is closed with code
5454 1000 (OK) or 1001 (going away) or without a close code. It raises a
5555 :exc:`~websockets.exceptions.ConnectionClosedError` when the connection is
5656 closed with any other code.
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ class ServerConnection(Connection):
5050 async for message in websocket:
5151 await process(message)
5252
53- The iterator exits normally when the connection is closed with close code
53+ The iterator exits normally when the connection is closed with code
5454 1000 (OK) or 1001 (going away) or without a close code. It raises a
5555 :exc:`~websockets.exceptions.ConnectionClosedError` when the connection is
5656 closed with any other code.
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ class ClientConnection(Connection):
3737 for message in websocket:
3838 process(message)
3939
40- The iterator exits normally when the connection is closed with close code
40+ The iterator exits normally when the connection is closed with code
4141 1000 (OK) or 1001 (going away) or without a close code. It raises a
4242 :exc:`~websockets.exceptions.ConnectionClosedError` when the connection is
4343 closed with any other code.
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ class ServerConnection(Connection):
4747 for message in websocket:
4848 process(message)
4949
50- The iterator exits normally when the connection is closed with close code
50+ The iterator exits normally when the connection is closed with code
5151 1000 (OK) or 1001 (going away) or without a close code. It raises a
5252 :exc:`~websockets.exceptions.ConnectionClosedError` when the connection is
5353 closed with any other code.
You can’t perform that action at this time.
0 commit comments