Return the referenced url

Synopsis

Declared in header <boost/url/params_ref.hpp>

url_base&
url() const noexcept;

Description

This function returns the url referenced by the view.

Example

url u( "?key=value" );

assert( &u.segments().url() == &u );

Exception Safety

Throws nothing.