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):
50
50
async for message in websocket:
51
51
await process(message)
52
52
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
54
54
1000 (OK) or 1001 (going away) or without a close code. It raises a
55
55
:exc:`~websockets.exceptions.ConnectionClosedError` when the connection is
56
56
closed with any other code.
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ class ServerConnection(Connection):
50
50
async for message in websocket:
51
51
await process(message)
52
52
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
54
54
1000 (OK) or 1001 (going away) or without a close code. It raises a
55
55
:exc:`~websockets.exceptions.ConnectionClosedError` when the connection is
56
56
closed with any other code.
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ class ClientConnection(Connection):
37
37
for message in websocket:
38
38
process(message)
39
39
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
41
41
1000 (OK) or 1001 (going away) or without a close code. It raises a
42
42
:exc:`~websockets.exceptions.ConnectionClosedError` when the connection is
43
43
closed with any other code.
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ class ServerConnection(Connection):
47
47
for message in websocket:
48
48
process(message)
49
49
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
51
51
1000 (OK) or 1001 (going away) or without a close code. It raises a
52
52
:exc:`~websockets.exceptions.ConnectionClosedError` when the connection is
53
53
closed with any other code.
You can’t perform that action at this time.
0 commit comments