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

..--

MakefileD23-Nov-20231.2 KiB4127

README.mdD23-Nov-2023839 4128

cert-big.crtD23-Nov-20235.2 KiB9190

cert.crtD23-Nov-20231 KiB1918

cert.keyD23-Nov-20231.7 KiB2928

client.cD23-Nov-20238.5 KiB310207

client.rsD23-Nov-20238.6 KiB271161

gen-certs.shD23-Nov-2023548 1614

http3-client.cD23-Nov-202311.6 KiB411283

http3-client.rsD23-Nov-202310.3 KiB323202

http3-server.cD23-Nov-202317.5 KiB575410

http3-server.rsD23-Nov-202320.1 KiB658436

qpack-decode.rsD23-Nov-20232.6 KiB8638

qpack-encode.rsD23-Nov-20232.7 KiB8942

rootca.crtD23-Nov-20231.2 KiB2221

server.cD23-Nov-202314.3 KiB486341

server.rsD23-Nov-202316.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