aboutsummaryrefslogtreecommitdiff
path: root/src/supplemental/http/http_api.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-12-22 12:27:49 -0800
committerGarrett D'Amore <garrett@damore.org>2024-12-22 12:27:49 -0800
commit2662596f105fc98ae1d2aa3b6137261bb351a8df (patch)
tree0c23c11eab6229cd7481a6294e1b447a6f309de7 /src/supplemental/http/http_api.h
parent10f6fc5141a15e368dac813a38942cb66d5ddef4 (diff)
downloadnng-2662596f105fc98ae1d2aa3b6137261bb351a8df.tar.gz
nng-2662596f105fc98ae1d2aa3b6137261bb351a8df.tar.bz2
nng-2662596f105fc98ae1d2aa3b6137261bb351a8df.zip
HTTP: nng_http_handler_set_method no longer fails
Diffstat (limited to 'src/supplemental/http/http_api.h')
-rw-r--r--src/supplemental/http/http_api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/supplemental/http/http_api.h b/src/supplemental/http/http_api.h
index d759e27b..0748b1f9 100644
--- a/src/supplemental/http/http_api.h
+++ b/src/supplemental/http/http_api.h
@@ -332,7 +332,7 @@ extern void nni_http_handler_set_host(nni_http_handler *, const char *);
// is obligated to inspect the method. (Note: the passed method must be
// in upper case and should come from a statically allocated string; the
// server does not make its own copy.)
-extern int nni_http_handler_set_method(nni_http_handler *, const char *);
+extern void nni_http_handler_set_method(nni_http_handler *, const char *);
// nni_http_handler_set_data sets an opaque data element on the handler,
// which will be available to the callback via nni_http_handler_get_data.