Like libevent, libev, and libuv, libhv provides event loop with non-blocking IO and timer, but simpler api and richer protocols. Cross-platform (Linux, Windows, MacOS, BSD, Solaris, Android, iOS) High-performance EventLoop (IO, timer, idle, custom) 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, proxy service, sync/async API handler. HTTP supports RESTful, router, middleware, keep-alive, chunked, SSE, etc. WebSocket client/server.

Features

  • Cross-platform (Linux, Windows, MacOS, BSD, Solaris, Android, iOS)
  • High-performance EventLoop (IO, timer, idle, custom)
  • TCP/UDP client/server/proxy
  • WebSocket client/server
  • MQTT client
  • HTTP supports static service, indexof service, proxy service, sync/async API handler
  • RUDP support: WITH_KCP

Project Samples

Project Activity

See All Activity >

License

BSD License

Follow libhv

libhv Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of libhv!

Additional Project Details

Programming Language

C

Related Categories

C HTTP Servers, C Libraries, C HTTP Clients, C WebSocket Servers, C WebSocket Libraries

Registered

2023-05-09