#include <nng/nng.h> #include <nng/supplemental/http/http.h> void nng_http_server_stop(nng_http_server *server);
nng_http_server_stop() undoes the effect of
Each call by
nng_http_server_start() acts as reference
count, and should be matched by a call to
When the reference count drops to zero, then the server is actually stopped,
and existing open connections to it are closed.
This function does not wait for the connections to close.