simple_http
A c++20 header-only HTTP library that supports both HTTP/2 and HTTP/1, based on Beast, nghttp2, and Asio.
Latest version: 0.6.7
Add to xmake.lua
add_requires("simple_http 0.6.7")Learn how to add and link packages with Xmake →
Information
- License
- MIT
- Kind
- library
- Recipe updated
- 2026-04-30T13:57:26.000Z
Platforms
- linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
- bsd: i386, x86_64, arm, arm64, ppc, ppc64, ppc64el, riscv64, sparc64
- mingw: i386, x86_64, arm, arm64
- cross: i386, x86_64, arm, armv7, arm64, mips, mips64, mips64el, riscv, riscv64, loong64, s390x, ppc, ppc64, ppc64el, sh4, sparc64
Options
openssl3- default use openssl3 · Type: boolean · Default: true
Versions
- v0.2.0
- v0.3.0
- v0.4.0
- v0.5.0
- v0.6.0
- v0.6.1
- v0.6.2
- v0.6.3
- v0.6.4
- v0.6.5
- v0.6.6
- v0.6.7
Dependencies
Install with xrepo
Install the package independently of a project and inspect its available configuration.
install
xrepo install "simple_http 0.6.7"show info
xrepo info "simple_http"Link a library to your target
Declare the requirement, then attach the library to the target that uses it.
xmake.lua
add_requires("simple_http 0.6.7")
target("demo")
set_kind("binary")
add_files("src/*.cpp")
add_packages("simple_http")Open a package environment
Open a shell with the environment exported by this package. Use the executable names documented by the package.
enter shell
xrepo env -b "simple_http 0.6.7" shell