aboutsummaryrefslogtreecommitdiff
path: root/src/nng.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-02-02 10:57:18 -0800
committerGarrett D'Amore <garrett@damore.org>2018-02-02 10:57:18 -0800
commit490bc97dbf76fae2a99c8bacd5fd9be332d68b90 (patch)
tree5504c23957e99ef5290c9048fedc27b1dbc25e77 /src/nng.h
parent5e5f814d63d4e00365b0ae726bc18831aa28e88f (diff)
downloadnng-490bc97dbf76fae2a99c8bacd5fd9be332d68b90.tar.gz
nng-490bc97dbf76fae2a99c8bacd5fd9be332d68b90.tar.bz2
nng-490bc97dbf76fae2a99c8bacd5fd9be332d68b90.zip
Add, and document, the url->u_requri member.
This member is the value passed in actual HTTP protocol, so it is useful with the function nng_http_req_set_uri().
Diffstat (limited to 'src/nng.h')
-rw-r--r--src/nng.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nng.h b/src/nng.h
index 98c42dc6..a5b3346a 100644
--- a/src/nng.h
+++ b/src/nng.h
@@ -761,7 +761,7 @@ typedef struct nng_url {
char *u_path; // path, will be "" if not specified
char *u_query; // without '?', will be NULL if not specified
char *u_fragment; // without '#', will be NULL if not specified
- char *u_rawpath; // includes query and fragment, "" if not specified
+ char *u_requri; // includes query and fragment, "" if not specified
} nng_url;
// nng_url_parse parses a URL string into a structured form.