tree: a637969ea09f2b8493556c7c9f2288b41d272f52 [path history] [tgz]
  1. Makefile
  2. README.md
  3. cert-big.crt
  4. cert.crt
  5. cert.key
  6. client.c
  7. client.rs
  8. gen-certs.sh
  9. http3-client.c
  10. http3-client.rs
  11. http3-server.c
  12. http3-server.rs
  13. qpack-decode.rs
  14. qpack-encode.rs
  15. rootca.crt
  16. server.c
  17. server.rs
examples/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