{"repo":"etr/libhttpserver","free":true,"listed":false,"github":"https://github.com/etr/libhttpserver","clone":"git clone https://github.com/etr/libhttpserver.git","description":"C++ library for creating an embedded Rest HTTP server (and more)","language":"C++","stars":949,"topics":["http","http-server","https","https-server","c-plus-plus","ipv6","shoutcast","tls","rest-api","restful-api"],"license":"LGPL-2.1","category":"networking-infra","readme_excerpt":"The libhttpserver reference manual Tl;dr libhttpserver is a C++20 library for building high-performance RESTful HTTP servers on top of GNU libmicrohttpd. v2.0 is a lambda-first redesign: a working server is ten lines, handlers are std::function s, responses are value-typed, and every public method is thread-safe by contract. Features: - HTTP/1.1-compatible request parser - RESTful-oriented interface - Lambda-first handler API; class-form handlers ( http resource ) when state is shared - Value-typed responses with seven factories and fluent with chaining - Cross-platform (Linux, BSD, macOS, Windows / MSYS2-MinGW) - Multiple threading models (internal poll, internal select, thread pool, external loop) - IPv6 and dual-stack support - Optional TLS (HTTPS) via GnuTLS, including mTLS, SNI, and TLS-PSK - Optional Basic and Digest authentication (SHA-256, SHA-512/256, MD5) - Optional centralized authentication with path-based skip rules - Optional WebSocket support (requires libmicrohttpd built with WebSocket support) - Response shapes for every common body: string, file, iovec scatter-gather, pipe streaming, deferred callback, empty, and 401-unauthorized - Incremental POST processing (form-urlencoded, multipart/form-data, file uploads) - External event-loop integration ( run , run wait , get fdset , add connection ) - Daemon introspection (bound port, active connections, listen FD) - Turbo mode, TCP FASTOPEN, suppressed Date headers, configurable backlog - IP access control with wil","default_branch":null,"files":null,"tree":[],"storefront":"/r/etr","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/etr/libhttpserver/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."}