cpp-httplib
A C++11 single-file header-only cross platform HTTP/HTTPS library.
Latest version: 0.63.0
Add to xmake.lua
add_requires("cpp-httplib 0.63.0")Learn how to add and link packages with Xmake →
Information
- License
- MIT
- Kind
- library
- Recipe updated
- 2026-10-25T05:25:56.000Z
Platforms
- android: armeabi, armeabi-v7a, arm64-v8a, riscv64, x86, x86_64, mips, mip64
- msys: i386, x86_64
- mingw: i386, x86_64, arm, arm64
- windows: x86, x64, arm, arm64, arm64ec
- 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
- harmony: armeabi-v7a, arm64-v8a, x86, x86_64
- cross: i386, x86_64, arm, armv7, arm64, mips, mips64, mips64el, riscv, riscv64, loong64, s390x, ppc, ppc64, ppc64el, sh4, sparc64
- wasm: wasm32, wasm64
- iphoneos: arm64, x86_64
- macosx: x86_64, arm64
Options
brotli- Requires Brotli · Type: boolean · Default: false
exceptions- Enable the use of C++ exceptions · Type: boolean · Default: true
ssl- Requires OpenSSL · Type: boolean · Default: false
zlib- Requires Zlib · Type: boolean · Default: false
Versions
- v0.8.5
- v0.9.2
- v0.12.1
- v0.12.6
- v0.14.0
- v0.14.1
- v0.14.2
- v0.14.3
- v0.15.0
- v0.15.1
- v0.15.2
- v0.15.3
- v0.16.2
- v0.16.3
- v0.17.0
- v0.17.3
- v0.18.1
- v0.18.3
- v0.18.5
- v0.18.6
- v0.18.7
- v0.19.0
- v0.20.0
- v0.20.1
- v0.21.0
- v0.22.0
- v0.23.1
- v0.26.0
- v0.28.0
- v0.34.0
- v0.37.1
- v0.37.2
- v0.41.0
- v0.43.3
- v0.43.4
- v0.45.0
- v0.47.0
- v0.48.0
- v0.50.1
- v0.53.1
- v0.59.0
- v0.63.0
Dependencies
Used by (1)
Packages declaring this dependency; requirements can vary by platform and configuration.
Install with xrepo
Install the package independently of a project and inspect its available configuration.
install
xrepo install "cpp-httplib 0.63.0"show info
xrepo info "cpp-httplib"Link a library to your target
Declare the requirement, then attach the library to the target that uses it.
xmake.lua
add_requires("cpp-httplib 0.63.0")
target("demo")
set_kind("binary")
add_files("src/*.cpp")
add_packages("cpp-httplib")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 "cpp-httplib 0.63.0" shell