Return the resource
pct_string_view
encoded_resource() noexcept;
Declared in file <src/url_view_base.cpp> at line 617
This function returns the resource, which is the portion of the url that includes only the path, query, and fragment. The returned string may contain percent escapes.
assert( url_view( "http://www.example.com/index.html?query#frag" ).encoded_resource() == "/index.html?query#frag" );
Constant.
Throws nothing.