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
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
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