NNG_HTTP_SERVER_DEL_HANDLER(3http)
π
nng_http_server_del_handler β NNG Reference Manual (3http)
okay bestie, this is the delete HTTP server handler page from the NNG Reference Manual, and itβs giving βclean up your handler situationβ energy. π
πΈ NAME πΈ
nng_http_server_del_handler β delete HTTP server handler
β¨ SYNOPSIS β¨
#include <nng/nng.h>
#include <nng/supplemental/http/http.h>
int nng_http_server_del_handler(nng_http_server *s, nng_http_handler *h);
π DESCRIPTION π
So nng_http_server_del_handler() removes the handler h from the server instance s. iconic behavior, honestly. β¨
Heads up bestie: once a handler has been deleted from a server, it is the responsibility of the caller to dispose of the handler, or add it to another server instance. no cap, that part is on you. π
π«Ά RETURN VALUES π«Ά
This function returns 0 on success, and non-zero otherwise. thatβs the whole vibe. π
π ERRORS π
NNG_ENOENTβ Handler is not registered with server.NNG_ENOTSUPβ HTTP not supported.
π₯ SEE ALSO π₯
mwah π thatβs the NNG Reference Manual page, dated 2026-01-13 β go be iconic with your handlers, bestie. π¦
π¦ where this page comes from
- alpine 3.24: nng-doc 1.11-r0 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms