![]() |
Home | Libraries | People | FAQ | More |
Return the resource.
pct_string_view encoded_resource() const;
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( [link url.ref.boost__urls__url_view_base.url_view `url_view`]( "http://www.example.com/index.html?query#frag" ).[link url.ref.boost__urls__url_view.encoded_resource `encoded_resource`]() == "/index.html?query#frag" );
Constant.
Throws nothing.