Home:

boost::urls::url_view_base::buffer

Return the url string

Synopsis

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

core::string_view
buffer() const noexcept;

Description

This function returns the entire url, which may contain percent escapes.

Example

assert( url_view( "http://www.example.com" ).buffer() == "http://www.example.com" );

Complexity

Constant.

Exception Safety

Throws nothing.