Return the host
pct_string_view
encoded_host_address() noexcept;
Declared in file <src/url_view_base.cpp> at line 328
The value returned by this function depends on the type of host returned from the function host_type.
assert( url_view( "https://www%2droot.example.com/" ).encoded_host_address() == "www%2droot.example.com" );
Constant.
Throws nothing.
host = IP-literal / IPv4address / reg-name
IP-literal = "[" ( IPv6address / IPvFuture ) "]"
reg-name = *( unreserved / pct-encoded / "-" / ".")