Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the develop branch, built from commit f5a2dc2871.
PrevUpHomeNext
url_view_base::encoded_resource

Return the resource.

Synopsis
pct_string_view
encoded_resource() const;
Description

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.

Example
assert( url_view( "http://www.example.com/index.html?query#frag" ).encoded_resource() == "/index.html?query#frag" );
Complexity

Constant.

Exception Safety

Throws nothing.

Specification
See Also

encoded_origin, encoded_target.


PrevUpHomeNext