[#boost-urls-url_view_base-buffer]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/url_view_base.adoc[url&lowbar;view&lowbar;base]::buffer
:relfileprefix: ../../../
:mrdocs:


Return the url string

== Synopsis


Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/url_view_base.hpp#L255[boost&sol;url&sol;url&lowbar;view&lowbar;base&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
core::string&lowbar;view
buffer() const noexcept;
----

== Description


This function returns the entire url,        which may contain percent escapes&period;


=== Example

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

=== Complexity

Constant&period;


=== Exception Safety

Throws nothing&period;





[.small]#Created with https://www.mrdocs.com[MrDocs]#
