Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
Makefile | D | 25-Apr-2025 | 1.2 KiB | 41 | 27 | |
README.md | D | 25-Apr-2025 | 839 | 41 | 28 | |
cert-big.crt | D | 25-Apr-2025 | 5.2 KiB | 91 | 90 | |
cert.crt | D | 25-Apr-2025 | 1 KiB | 19 | 18 | |
cert.key | D | 25-Apr-2025 | 1.7 KiB | 29 | 28 | |
client.c | D | 25-Apr-2025 | 9.8 KiB | 342 | 232 | |
client.rs | D | 25-Apr-2025 | 9 KiB | 284 | 171 | |
gen-certs.sh | D | 25-Apr-2025 | 548 | 16 | 14 | |
http3-client.c | D | 25-Apr-2025 | 13.8 KiB | 477 | 333 | |
http3-client.rs | D | 25-Apr-2025 | 11.6 KiB | 358 | 228 | |
http3-server.c | D | 25-Apr-2025 | 19 KiB | 618 | 443 | |
http3-server.rs | D | 25-Apr-2025 | 21 KiB | 683 | 456 | |
qpack-decode.rs | D | 25-Apr-2025 | 2.7 KiB | 88 | 40 | |
qpack-encode.rs | D | 25-Apr-2025 | 2.7 KiB | 89 | 42 | |
rootca.crt | D | 25-Apr-2025 | 1.2 KiB | 22 | 21 | |
server.c | D | 25-Apr-2025 | 15.8 KiB | 528 | 373 | |
server.rs | D | 25-Apr-2025 | 16.7 KiB | 530 | 346 |
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