:relfileprefix: ../../../
[#boost-urls-url_view_base-buffer]

= xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/url_view_base.adoc[pass:[url_view_base]]::buffer


Return the url string


== Synopsis

Declared in header `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/url_view_base.hpp#L241[boost/url/url_view_base.hpp,window=blank_]>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
core::string_view
buffer() const noexcept;
----

== Description


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

=== Example
[,cpp]
----
assert( url_view( "http://www.example.com" ).buffer() == "http://www.example.com" );
----

=== Complexity

Constant.

=== Exception Safety

Throws nothing.








