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