boost::urls::static_url::set_host_ipvfuture
Set the host to an address
Synopsis
Declared in <boost/url/static_url.hpp>
static_url&
set_host_ipvfuture(core::string_view s);
Description
The host is set to the specified IPvFuture string. The host type is host_type::ipvfuture .
assert( url().set_host_ipvfuture( "v42.bis" ).buffer() == "//[v42.bis]" );
Linear in this->size() + s.size()
.
this->has_authority() == true && this->host_ipvfuture) == s && this->host_type() == host_type::ipvfuture
See Also
set_encoded_host , set_encoded_host_address , set_encoded_host_name , set_host , set_host_address , set_host_ipv4 , set_host_ipv6 , set_host_name .
Created with MrDocs