/example /install |
Contents
1. aioquic
python
https://github.com/aiortc/aioquic
2. whois
aioquic is a library for the QUIC network protocol in Python. It features a minimal TLS 1.3 implementation, a QUIC stack and an HTTP/3 stack.
aioquic requires Python 3.8 or better, and the OpenSSL development headers.
Requirements
sudo apt install libssl-dev python3-dev
手元の python3 Python 3.10.12
setuptools が入っていない。-- ToshinoriMaeno 2023-11-18 00:44:31
https://github.com/aiortc/aioquic/tree/main/examples
pip で インストールするのがよいらしい。-- ToshinoriMaeno 2023-11-18 14:02:57 /install
3. test server
$ python3 examples/http3_server.py usage: http3_server.py [-h] -c CERTIFICATE [--host HOST] [--port PORT] [-k PRIVATE_KEY] [-l SECRETS_LOG] [--max-datagram-size MAX_DATAGRAM_SIZE] [-q QUIC_LOG] [--retry] [-v] [app] http3_server.py: error: the following arguments are required: -c/--certificate