From 588611e180f2e47caa778a6265b1d7f73b90648a Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 11 Jan 2025 08:36:27 -0800 Subject: http: remove public access to req / res structures --- include/nng/http.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include') 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 *); -- cgit v1.2.3-70-g09d2