• Home
Name Date Size #Lines LOC

..--

MakefileD03-May-20241.2 KiB4127

README.mdD03-May-2024839 4128

cert-big.crtD03-May-20245.2 KiB9190

cert.crtD03-May-20241 KiB1918

cert.keyD03-May-20241.7 KiB2928

client.cD03-May-20248.5 KiB310207

client.rsD03-May-20248.6 KiB271161

gen-certs.shD03-May-2024548 1614

http3-client.cD03-May-202411.6 KiB411283

http3-client.rsD03-May-202410.3 KiB323202

http3-server.cD03-May-202417.5 KiB575410

http3-server.rsD03-May-202420.1 KiB658436

qpack-decode.rsD03-May-20242.6 KiB8638

qpack-encode.rsD03-May-20242.7 KiB8942

rootca.crtD03-May-20241.2 KiB2221

server.cD03-May-202414.3 KiB486341

server.rsD03-May-202416.4 KiB523338

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