
BayServer for PythonはHTTP/3ライブラリとしてaioquicを使用します。このライブラリをビルドし、Pythonに組み込む必要があります。
aioquicのビルド
リポジトリのチェックアウト
$ git clone https://github.com/aiortc/aioquic.git
$ cd aioquic
基本的にはここのREADME.rstおよびexamplesのREADME.rstを参考にビルドしていきます。
以下、Ubuntu前提の例です。
opensslのヘッダ、pythonのヘッダのインストールをします。
$ sudo apt install libssl-dev python3-dev
aioquicをビルド・インストールします
$ pip install -e .
$ pip install asgiref dnslib httpbin starlette "werkzeug<2.1" wsproto
BayServerの設計
BayServerの設計はこちら