aboutsummaryrefslogtreecommitdiff
path: root/src/supplemental/http/http_api.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-01-12 08:28:03 -0800
committerGarrett D'Amore <garrett@damore.org>2025-01-12 08:28:03 -0800
commit4f445061dc9dbc1e437ff04eff6f39f021bd5bec (patch)
treeab3f0fcb11b3b36b7081580618d7b7d0bfda0731 /src/supplemental/http/http_api.h
parentd87b873ea5bbdae1352b2a61f5110f20b65928cc (diff)
downloadnng-4f445061dc9dbc1e437ff04eff6f39f021bd5bec.tar.gz
nng-4f445061dc9dbc1e437ff04eff6f39f021bd5bec.tar.bz2
nng-4f445061dc9dbc1e437ff04eff6f39f021bd5bec.zip
http: move connection properties to http_conn, use static Location for redirect
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 02b5fbe4..c8d73788 100644
--- a/src/supplemental/http/http_api.h
+++ b/src/supplemental/http/http_api.h
@@ -119,7 +119,7 @@ extern int nni_http_req_add_header(nni_http_req *, const char *, const char *);
extern int nni_http_req_alloc_data(nni_http_req *, size_t);
extern int nni_http_res_alloc_data(nni_http_res *, size_t);
-extern bool nni_http_res_is_error(nni_http_res *);
+extern bool nni_http_is_error(nng_http *);
extern void nni_http_read(nni_http_conn *, nni_aio *);
extern void nni_http_read_full(nni_http_conn *, nni_aio *);