From 2662596f105fc98ae1d2aa3b6137261bb351a8df Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 22 Dec 2024 12:27:49 -0800 Subject: HTTP: nng_http_handler_set_method no longer fails --- src/supplemental/http/http_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/supplemental/http/http_api.h') 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. -- cgit v1.2.3-70-g09d2