• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

MakefileD25-Apr-20251.2 KiB4127

README.mdD25-Apr-2025839 4128

cert-big.crtD25-Apr-20255.2 KiB9190

cert.crtD25-Apr-20251 KiB1918

cert.keyD25-Apr-20251.7 KiB2928

client.cD25-Apr-20259.8 KiB342232

client.rsD25-Apr-20259 KiB284171

gen-certs.shD25-Apr-2025548 1614

http3-client.cD25-Apr-202513.8 KiB477333

http3-client.rsD25-Apr-202511.6 KiB358228

http3-server.cD25-Apr-202519 KiB618443

http3-server.rsD25-Apr-202521 KiB683456

qpack-decode.rsD25-Apr-20252.7 KiB8840

qpack-encode.rsD25-Apr-20252.7 KiB8942

rootca.crtD25-Apr-20251.2 KiB2221

server.cD25-Apr-202515.8 KiB528373

server.rsD25-Apr-202516.7 KiB530346

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