1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 6d24f2138b
Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56)
3 years ago
..
Makefile Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
README.md Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
cert-big.crt Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
cert.crt Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
cert.key Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
client.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
client.rs Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
gen-certs.sh Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
http3-client.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
http3-client.rs Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
http3-server.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
http3-server.rs Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
qpack-decode.rs Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
qpack-encode.rs Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
rootca.crt Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
server.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
server.rs Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago

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