SYNOPSIS

#include <nng/nng.h>
#include <nng/supplemental/http/http.h>

void nng_http_server_stop(nng_http_server *server);

DESCRIPTION

The nng_http_server_stop() stops the HTTP server instance server. This will cause it to close any underlying TCP sockets, and to terminate any HTTP connections associated with it.

RETURN VALUES

None.

ERRORS

None.

SEE ALSO