diff options
| -rw-r--r-- | include/nng/http.h | 4 | ||||
| -rw-r--r-- | src/supplemental/http/http_public.c | 10 |
2 files changed, 0 insertions, 14 deletions
diff --git a/include/nng/http.h b/include/nng/http.h index 6a57cfe6..69e57fa5 100644 --- a/include/nng/http.h +++ b/include/nng/http.h @@ -104,10 +104,6 @@ typedef struct nng_http_res nng_http_res; // normally only used for exchanging HTTP requests and responses. typedef struct nng_http_conn nng_http; -// These methods obtain a pointer to the request or response structure -// that is embedded in the conn structure. -NNG_DECL nng_http_res *nng_http_conn_res(nng_http *); - // nng_http_close closes the underlying channel. Applications should // not use this channel after this operation is performed. NNG_DECL void nng_http_close(nng_http *); diff --git a/src/supplemental/http/http_public.c b/src/supplemental/http/http_public.c index 5b39ba02..55c54394 100644 --- a/src/supplemental/http/http_public.c +++ b/src/supplemental/http/http_public.c @@ -138,16 +138,6 @@ nng_http_get_version(nng_http *conn) #endif } -nng_http_res * -nng_http_conn_res(nng_http *conn) -{ -#ifdef NNG_SUPP_HTTP - return (nni_http_conn_res(conn)); -#else - return (NULL); -#endif -} - int nng_http_set_status(nng_http *conn, uint16_t status, const char *reason) { |
