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
SKUDONET Open Source Load Balancer Icon
SKUDONET Open Source Load Balancer

Take advantage of Open Source Load Balancer to elevate your business security and IT infrastructure with a custom ADC Solution.

SKUDONET ADC, operates at the application layer, efficiently distributing network load and application load across multiple servers. This not only enhances the performance of your application but also ensures that your web servers can handle more traffic seamlessly.
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