diff options
Diffstat (limited to 'src/supplemental/http/http_public.c')
| -rw-r--r-- | src/supplemental/http/http_public.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/supplemental/http/http_public.c b/src/supplemental/http/http_public.c index 84811e54..389b74c8 100644 --- a/src/supplemental/http/http_public.c +++ b/src/supplemental/http/http_public.c @@ -867,3 +867,19 @@ nng_http_conn_transact( } #endif } + +void +nng_http_req_reset(nng_http_req *req) +{ +#ifdef NNG_SUPP_HTTP + nni_http_req_reset(req); +#endif +} + +void +nng_http_res_reset(nng_http_res *res) +{ +#ifdef NNG_SUPP_HTTP + nni_http_res_reset(res); +#endif +} |
