- HTTP / HTTPS: WEB - CLIENT / SERVER.
- WS / WSS: WebSocket - CLIENT / SERVER.
- Proxy: HTTP(S) / SOCKS5 PROXY - CLIENT / SERVER.
- Compress: GZIP / BZIP2 / ZSTD / LZ4 / LZMA / DEFLATE / BROTLI - compression support.
- Authentication: BASIC / DIGEST - authentication support.
- HTTP/1.1 (RFC 9112)
- HTTP/2 (RFC-9113)
- HTTP/3 (RFC-9114)
- LZ4
- Zlib
- BZip2
- Brotli
- Snappy
- Lizard
- Density
- ZStandart
- Lempel–Ziv–Markov
- PCRE2
- OpenSSL
- CityHash
- LibIconv
- LibIdn2
- NgHttp2
- GPerfTools
- fast_float
$ git clone --recursive https://gitflic.ru/project/anyks/awh.git$ sudo kldload sctp$ sudo apt-get install liblksctp-devel
$ sudo modprobe sctp
$ sudo sysctl -w net.sctp.auth_enable=1$ sudo apt install libsctp-dev
$ sudo modprobe sctp
$ sudo sysctl -w net.sctp.auth_enable=1$ sudo yum install lksctp-tools-devel
$ sudo modprobe sctp
$ sudo sysctl -w net.sctp.auth_enable=1$ sudo zypper install lksctp-tools-devel
$ sudo modprobe sctp
$ sudo sysctl -w net.sctp.auth_enable=1$ cd ./sh/certificates
$ ./generate.sh example.com$ ./sh/build_third_party.sh$ mkdir ./build
$ cd ./build
$ cmake \
-DCMAKE_BUILD_IDN=YES \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SHARED_BUILD_LIB=YES \
..
$ make$ pacman -Syuu
$ pacman -Ss cmake
$ pacman -S mingw64/mingw-w64-x86_64-cmake
$ pacman -S make
$ pacman -S curl
$ pacman -S wget
$ pacman -S mc
$ pacman -S gdb
$ pacman -S bash
$ pacman -S clang
$ pacman -S git
$ pacman -S autoconf
$ pacman -S --needed base-devel mingw-w64-x86_64-toolchain
$ pacman -S mingw-w64-x86_64-dlfcn$ mkdir ./build
$ cd ./build
$ cmake \
-G "MSYS Makefiles" \
-DCMAKE_BUILD_IDN=YES \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SYSTEM_NAME=Windows \
-DCMAKE_SHARED_BUILD_LIB=YES \
..
$ cmake --build .# Build installation package
$ ./sh/dist/macos_make_installer.sh# Build installation package
$ ./sh/dist/windows_make_installer.sh# Build installation package
$ ./sh/dist/solaris_make_installer.sh
# Install AWH library
$ sudo pkg install -g awh_X.X.X-1_i86pc.p5p awh
# Registering installed components
$ sudo postinstall-awh# Build installation package
$ ./sh/dist/freebsd_make_tar.sh
# Install AWH library
$ sudo tar -xzvf awh_X.X.X_FreeBSD_amd64.tar.gz -C /# Build installation package
$ ./sh/dist/linux_make_deb.sh
# Install AWH library
sudo dpkg -i awh_X.X.X-X~X_amd64.deb# Build installation package
$ ./sh/dist/linux_make_rpm.sh
# Install AWH library
sudo rpm -i glb-X.X.X-X.X_amd64.rpm// main.cpp
// cmake -DCMAKE_SHARED_LIB_AWH=YES ..
#include <iostream>
#include <awh/sys/lib.hpp>
int main(){
std::cout << "AWH Version: " << AWH_VERSION << std::endl;
return 0;
}cmake_minimum_required(VERSION 3.16)
project(my_app LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
find_package(AWH REQUIRED)
if (AWH_FOUND)
message(STATUS "AWH found: " ${AWH_LIBRARY} " " ${AWH_LIBRARY_DLL} " " ${AWH_INCLUDE_DIR})
else (AWH_FOUND)
message(FATAL_ERROR "AWH not found")
endif (AWH_FOUND)
add_executable(my_app main.cpp)
target_link_libraries(my_app PRIVATE ${AWH_LIBRARY})$ mkdir ./build
$ cd ./build
$ cmake \
-DCMAKE_BUILD_IDN=YES \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SHARED_LIB_AWH=YES \
..
$ cmake --build .$ mkdir ./build
$ cd ./build
$ cmake \
-G "MSYS Makefiles" \
-DCMAKE_BUILD_IDN=YES \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SYSTEM_NAME=Windows \
-DCMAKE_SHARED_LIB_AWH=YES \
..
$ cmake --build .