| 1 |
asyncio API |
| 2 |
=========== |
| 3 |
|
| 4 |
The asyncio API provides a high-level QUIC API built on top of :mod:`asyncio`, |
| 5 |
Python's standard asynchronous I/O framework. |
| 6 |
|
| 7 |
``aioquic`` comes with a selection of examples, including: |
| 8 |
|
| 9 |
- an HTTP/3 client |
| 10 |
- an HTTP/3 server |
| 11 |
|
| 12 |
The examples can be browsed on GitHub: |
| 13 |
|
| 14 |
https://github.com/aiortc/aioquic/tree/main/examples |
| 15 |
|
| 16 |
.. automodule:: aioquic.asyncio |
| 17 |
|
| 18 |
Client |
| 19 |
------ |
| 20 |
|
| 21 |
.. autofunction:: connect |
| 22 |
|
| 23 |
Server |
| 24 |
------ |
| 25 |
|
| 26 |
.. autofunction:: serve |
| 27 |
|
| 28 |
Common |
| 29 |
------ |
| 30 |
|
| 31 |
.. autoclass:: QuicConnectionProtocol |
| 32 |
:members: |