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 an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
static_url::encoded_target

(Inherited from url_view_base)

Return the target.

Synopsis
pct_string_view
encoded_target() const;
Description

This function returns the target, which is the portion of the url that includes only the path and query. The returned string may contain percent escapes.

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

Constant.

Exception Safety

Throws nothing.

Specification
See Also

encoded_origin, encoded_resource.


PrevUpHomeNext