boost::urls::url_view_base::buffer :: Boost Libraries Documentation

# boost::urls::url_view_base::buffer

Return the url string

## Synopsis

Declared in `<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.

## Return Value

The url as a string.

Created with MrDocs