boost::urls::url::set_user
Set the user
Synopsis
Declared in <boost/url/url.hpp>
url&
set_user(core::string_view s);
Description
This function sets the user part of the userinfo to the string. Any special or reserved characters in the string are automatically percent‐encoded.
BNF
userinfo = [ [ user ] [ ':' password ] ]
user = *( unreserved / pct-encoded / sub-delims )
password = *( unreserved / pct-encoded / sub-delims / ":" )
See Also
remove_password, set_encoded_password, set_encoded_user, set_password.
Created with MrDocs