NNG_URL(5) | NNG Reference Manual | NNG_URL(5) |
nng_url - Universal Resource Locator object
#include <nng/nng.h> typedef struct nng_url { char *u_rawurl; char *u_scheme; char *u_userinfo; char *u_host; char *u_hostname; char *u_port; char *u_path; char *u_query; char *u_fragment; char *u_requri; } nng_url;
An nng_url is a structure used for representing URLs. These structures are created by parsing string formatted URLs with nng_url_parse().
Applications may access individual fields, but must not free or alter them, as the underlying memory is managed by the library.
The fields are as follows:
u_rawurl
u_scheme
u_userinfo
u_host
u_hostname
u_port
u_path
u_query
u_fragment
u_requri
Other fields may also be present, but only those documented here are safe for application use.
More information about Universal Resource Locators can be found in
RFC 3986 <https://tools.ietf.org/html/rfc3986>.
nng_url_clone(3), nng_url_free(3), nng_url_parse(3), nng(7)
2025-01-05 |