Registry / networking / libmicrohttpd

libmicrohttpd

JSON →
library1.0.2vcpkgunverified

GNU libmicrohttpd is a small C library that makes it easy to run an HTTP server as part of another application.

vcpkg install libmicrohttpd
INSTALL
IMPORT
SIG · LIBMICROHTTPD
L
libmicrohttpd
networkingcppv1.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

microhttpd.h
#include <microhttpd.h>

Start and stop an HTTP server on port 8080

#include <microhttpd.h> int main() { struct MHD_Daemon *daemon = MHD_start_daemon(MHD_USE_SELECT_INTERNALLY, 8080, NULL, NULL, NULL, NULL, MHD_OPTION_END); MHD_stop_daemon(daemon); return 0; }
Debug
Known issues
gotchaThread safety requires careful configuration
fix
Use MHD_USE_THREAD_PER_CONNECTION or MHD_USE_SELECT_INTERNALLY appropriately
affects: *
Upgrade
Version history
1.0.2latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources

No resource links recorded.

libmicrohttpd — pip install libmicrohttpd · libregistry