|
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| README.md | ||
| cert-big.crt | ||
| cert.crt | ||
| cert.key | ||
| client.c | ||
| client.rs | ||
| gen-certs.sh | ||
| http3-client.c | ||
| http3-client.rs | ||
| http3-server.c | ||
| http3-server.rs | ||
| qpack-decode.rs | ||
| qpack-encode.rs | ||
| rootca.crt | ||
| server.c | ||
| server.rs | ||
README.md
How to build C examples
Requirements
You will need the following libraries to build the C examples in this directory. You can use your OS package manager (brew, apt, pkg, ...) or install them from source.
Build
Simply run make in this directory.
% make clean
% make
Examples Docker image
You can experiment with http3-client, http3-server, client and server using Docker.
The Examples Dockerfile builds a Debian image.
To build:
docker build -t cloudflare-quiche .
To make an HTTP/3 request:
docker run -it cloudflare-quiche http3-client https://cloudflare-quic.com