{"repo":"ithewei/libhv","free":true,"listed":false,"github":"https://github.com/ithewei/libhv","clone":"git clone https://github.com/ithewei/libhv.git","description":"🔥 比libevent/libuv/asio更易用的网络库。A c/c++ network library for developing TCP/UDP/SSL/HTTP/WebSocket/MQTT/Redis client/server.","language":"C","stars":7536,"topics":["https","http-client","http-server","websocket","websocket-client","websocket-server","webserver","epoll","curl","openssl"],"license":"BSD-3-Clause","category":"networking-infra","readme_excerpt":"English 中文 libhv Like libevent, libev, and libuv , libhv provides event-loop with non-blocking IO and timer, but simpler api and richer protocols. ✨ Features - Cross-platform (Linux, Windows, macOS, Android, iOS, BSD, Solaris) - High-performance EventLoop (IO, timer, idle, custom, signal) - TCP/UDP client/server/proxy - TCP supports heartbeat, reconnect, upstream, MultiThread-safe write and close, etc. - Built-in common unpacking modes (FixedLength, Delimiter, LengthField) - RUDP support: WITH KCP - SSL/TLS support: (via WITH OPENSSL or WITH GNUTLS or WITH MBEDTLS) - HTTP client/server (support https http1/x http2 grpc) - HTTP supports static service, indexof service, forward/reverse proxy service, sync/async API handler - HTTP supports RESTful, router, middleware, keep-alive, chunked, SSE, etc. - WebSocket client/server - MQTT client - Redis client ⌛️ Build see BUILD.md Makefile: or cmake: or bazel: or vcpkg: or xmake: ⚡️ Getting Started run ./getting started.sh : TCP tcp server c version : examples/tcp echo server.c c++ version : evpp/TcpServer test.cpp tcp client c version : examples/tcp client test.c c++ version : evpp/TcpClient test.cpp HTTP http server see examples/http server test.cpp golang gin style http client see examples/http client test.cpp python requests style WebSocket WebSocket server see examples/websocket server test.cpp WebSocket client see examples/websocket client test.cpp Redis see examples/redis client test.cpp and examples/redis subscriber test.cpp Th","default_branch":null,"files":null,"tree":[],"storefront":"/r/ithewei","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ithewei/libhv/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}