aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-01-11 08:36:27 -0800
committerGarrett D'Amore <garrett@damore.org>2025-01-11 08:36:27 -0800
commit588611e180f2e47caa778a6265b1d7f73b90648a (patch)
tree5bb96863618e6baa5343aa9f8fe270dcf0ea8ed6 /include
parent82d9d77b445081a3b2f67743c42d4a20a2a71d13 (diff)
downloadnng-588611e180f2e47caa778a6265b1d7f73b90648a.tar.gz
nng-588611e180f2e47caa778a6265b1d7f73b90648a.tar.bz2
nng-588611e180f2e47caa778a6265b1d7f73b90648a.zip
http: remove public access to req / res structures
Diffstat (limited to 'include')
-rw-r--r--include/nng/http.h4
1 files changed, 0 insertions, 4 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 *);