Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
Makefile | D | 03-May-2024 | 1.2 KiB | 41 | 27 | |
README.md | D | 03-May-2024 | 839 | 41 | 28 | |
cert-big.crt | D | 03-May-2024 | 5.2 KiB | 91 | 90 | |
cert.crt | D | 03-May-2024 | 1 KiB | 19 | 18 | |
cert.key | D | 03-May-2024 | 1.7 KiB | 29 | 28 | |
client.c | D | 03-May-2024 | 9.1 KiB | 325 | 217 | |
client.rs | D | 03-May-2024 | 8.8 KiB | 278 | 166 | |
gen-certs.sh | D | 03-May-2024 | 548 | 16 | 14 | |
http3-client.c | D | 03-May-2024 | 12.2 KiB | 430 | 295 | |
http3-client.rs | D | 03-May-2024 | 10.6 KiB | 331 | 208 | |
http3-server.c | D | 03-May-2024 | 18.1 KiB | 593 | 423 | |
http3-server.rs | D | 03-May-2024 | 20.3 KiB | 660 | 437 | |
qpack-decode.rs | D | 03-May-2024 | 2.7 KiB | 88 | 40 | |
qpack-encode.rs | D | 03-May-2024 | 2.7 KiB | 89 | 42 | |
rootca.crt | D | 03-May-2024 | 1.2 KiB | 22 | 21 | |
server.c | D | 03-May-2024 | 15.1 KiB | 509 | 357 | |
server.rs | D | 03-May-2024 | 16.5 KiB | 521 | 337 |
README.md
1How to build C examples 2----------------------- 3 4### Requirements 5 6You will need the following libraries to build the C examples in this directory. 7You can use your OS package manager (brew, apt, pkg, ...) or install them from 8source. 9 10- [libev](http://software.schmorp.de/pkg/libev.html) 11- [uthash](https://troydhanson.github.io/uthash/) 12 13### Build 14 15Simply run `make` in this directory. 16 17``` 18% make clean 19% make 20``` 21 22Examples Docker image 23--------------------- 24You can experiment with [http3-client](http3-client.rs), 25[http3-server](http3-server.rs), [client](client.rs) and [server](server.rs) 26using Docker. 27 28The Examples [Dockerfile](Dockerfile) builds a Debian image. 29 30To build: 31 32``` 33docker build -t cloudflare-quiche . 34``` 35 36To make an HTTP/3 request: 37 38``` 39docker run -it cloudflare-quiche http3-client https://cloudflare-quic.com 40``` 41