File tree 11 files changed +23
-21
lines changed
11 files changed +23
-21
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ Tutorial
35
35
Learn how to build an real-time web application with websockets.
36
36
37
37
.. toctree ::
38
+ :maxdepth: 1
38
39
39
40
tutorial1
40
41
tutorial2
Original file line number Diff line number Diff line change 1
- Client (new :mod: `asyncio `)
2
- ===========================
1
+ Client (:mod: `asyncio `)
2
+ =======================
3
3
4
4
.. automodule :: websockets.asyncio.client
5
5
Original file line number Diff line number Diff line change 1
1
:orphan:
2
2
3
- Both sides (new :mod: `asyncio `)
4
- ===============================
3
+ Both sides (:mod: `asyncio `)
4
+ ===========================
5
5
6
6
.. automodule :: websockets.asyncio.connection
7
7
Original file line number Diff line number Diff line change 1
- Server (new :mod: `asyncio `)
2
- ===========================
1
+ Server (:mod: `asyncio `)
2
+ =======================
3
3
4
4
.. automodule :: websockets.asyncio.server
5
5
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ Both sides
68
68
| Measure latency | ✅ | ✅ | — | ✅ |
69
69
+------------------------------------+--------+--------+--------+--------+
70
70
| Perform the closing handshake | ✅ | ✅ | ✅ | ✅ |
71
+ +------------------------------------+--------+--------+--------+--------+
71
72
| Enforce closing timeout | ✅ | ✅ | — | ✅ |
72
73
+------------------------------------+--------+--------+--------+--------+
73
74
| Report close codes and reasons | ✅ | ✅ | ✅ | ❌ |
@@ -177,7 +178,7 @@ There is no way to control compression of outgoing frames on a per-frame basis
177
178
.. _#538 : https://github.com/python-websockets/websockets/issues/538
178
179
179
180
The server doesn't check the Host header and doesn't respond with HTTP 400 Bad
180
- Request if it is missing or invalid (`#1246 `).
181
+ Request if it is missing or invalid (`#1246 `_ ).
181
182
182
183
.. _#1246 : https://github.com/python-websockets/websockets/issues/1246
183
184
Original file line number Diff line number Diff line change @@ -51,12 +51,11 @@ application servers.
51
51
sansio/server
52
52
sansio/client
53
53
54
- :mod: `asyncio ` (legacy)
55
- -----------------------
56
-
57
- This is the historical implementation.
54
+ Legacy
55
+ ------
58
56
59
- It is deprecated and will be removed.
57
+ This is the historical implementation. It is deprecated. It will be removed by
58
+ 2030.
60
59
61
60
.. toctree ::
62
61
:titlesonly:
@@ -67,7 +66,7 @@ It is deprecated and will be removed.
67
66
Extensions
68
67
----------
69
68
70
- The Per-Message Deflate extension is built in. You may also define custom
69
+ The Per-Message Deflate extension is built- in. You may also define custom
71
70
extensions.
72
71
73
72
.. toctree ::
Original file line number Diff line number Diff line change 1
- Client (legacy :mod: ` asyncio ` )
2
- ==============================
1
+ Client (legacy)
2
+ ===============
3
3
4
4
.. admonition :: The legacy :mod:`asyncio` implementation is deprecated.
5
5
:class: caution
Original file line number Diff line number Diff line change 1
1
:orphan:
2
2
3
- Both sides (legacy :mod: ` asyncio ` )
4
- ==================================
3
+ Both sides (legacy)
4
+ ===================
5
5
6
6
.. admonition :: The legacy :mod:`asyncio` implementation is deprecated.
7
7
:class: caution
Original file line number Diff line number Diff line change 1
- Server (legacy :mod: ` asyncio ` )
2
- ==============================
1
+ Server (legacy)
2
+ ===============
3
3
4
4
.. admonition :: The legacy :mod:`asyncio` implementation is deprecated.
5
5
:class: caution
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ healthz
33
33
html
34
34
hypercorn
35
35
iframe
36
+ io
36
37
IPv
37
38
istio
38
39
iterable
Original file line number Diff line number Diff line change 1
1
:orphan:
2
2
3
- Design (legacy :mod: ` asyncio ` )
4
- ==============================
3
+ Design (legacy)
4
+ ===============
5
5
6
6
.. currentmodule :: websockets.legacy
7
7
You can’t perform that action at this time.
0 commit comments