manual_h2_client is a simple HTTP/2 client library which assembles the HTTP/2 frames manually.
The purpose of the library is to debug a HTTP/2 server.
- C++17 or later
- CMake 3.13 or later
- OpenSSL 1.1.1g or later
- GoogleTest 1.10 or later (optional)
- clang-format 10.0.1 or later (optional)
- cpplint 1.5.4 or later(optional)
$ cmake -B build \
-DOPENSSL_ROOT_DIR=/path/to/openssl \
-DBUILD_SHARED_LIBS=ON
$ cmake --build build
You can execute the test, format, lint in the following command after the build.
Note that GoogleTest is required to test, clang-format is requried to format and cpplint is required to lint.
$ cmake --build build --target test
$ cmake --build build --target format
$ cmake --build build --target lint
See the sample code.
You can execute the sample code in the following command after the build.
$ ./build/sample/h2_get/sample_h2_get