[#boost-urls-url-set_host-06]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/url.adoc[url]::set&lowbar;host
:relfileprefix: ../../../
:mrdocs:


== Synopsis


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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/url.adoc[url]&
xref:boost/urls/url/set_host-03.adoc[set&lowbar;host](core::string&lowbar;view s);
----

[.small]#xref:boost/urls/url/set_host-03.adoc[_» more..._]#

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/url_base.adoc[url&lowbar;base]&
xref:boost/urls/url_base/set_host.adoc[set&lowbar;host](core::string&lowbar;view s);
----

[.small]#xref:boost/urls/url_base/set_host.adoc[_» more..._]#

== Parameters


|===
| Name | Description

| *s*
| The string to set&period;


|===



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