url

Return the referenced url

Synopsis

url_base&
url() const noexcept;

Defined in file <include/boost/url/segments_ref.hpp> on line 238

Description

This function returns the url referenced by the view.

Example

url u( "/path/to/file.txt" );

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

Exception Safety

Throws nothing.