buffer

Return the url string

Synopsis

string_view
buffer() const noexcept;

Defined in file <include/boost/url/url_view_base.hpp> on line 241

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.