Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
Makefile | D | 23-Nov-2023 | 1.2 KiB | 41 | 27 | |
README.md | D | 23-Nov-2023 | 839 | 41 | 28 | |
cert-big.crt | D | 23-Nov-2023 | 5.2 KiB | 91 | 90 | |
cert.crt | D | 23-Nov-2023 | 1 KiB | 19 | 18 | |
cert.key | D | 23-Nov-2023 | 1.7 KiB | 29 | 28 | |
client.c | D | 23-Nov-2023 | 8.5 KiB | 310 | 207 | |
client.rs | D | 23-Nov-2023 | 8.6 KiB | 271 | 161 | |
gen-certs.sh | D | 23-Nov-2023 | 548 | 16 | 14 | |
http3-client.c | D | 23-Nov-2023 | 11.6 KiB | 411 | 283 | |
http3-client.rs | D | 23-Nov-2023 | 10.3 KiB | 323 | 202 | |
http3-server.c | D | 23-Nov-2023 | 17.5 KiB | 575 | 410 | |
http3-server.rs | D | 23-Nov-2023 | 20.1 KiB | 658 | 436 | |
qpack-decode.rs | D | 23-Nov-2023 | 2.6 KiB | 86 | 38 | |
qpack-encode.rs | D | 23-Nov-2023 | 2.7 KiB | 89 | 42 | |
rootca.crt | D | 23-Nov-2023 | 1.2 KiB | 22 | 21 | |
server.c | D | 23-Nov-2023 | 14.3 KiB | 486 | 341 | |
server.rs | D | 23-Nov-2023 | 16.4 KiB | 523 | 338 |
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