boost::urls::url_base::set_encoded_user
Set the user
Synopsis
Declared in <boost/url/url_base.hpp>
url_base&
set_encoded_user(pct_string_view s);
Description
This function sets the user part of the userinfo the the string, which may contain percent‐escapes. Escapes in the string are preserved, and reserved characters in the string are percent‐escaped in the result.
BNF
userinfo = [ [ user ] [ ':' password ] ]
user = *( unreserved / pct-encoded / sub-delims )
password = *( unreserved / pct-encoded / sub-delims / ":" )
See Also
remove_password
, set_encoded_password
, set_password
, set_user
.
Created with MrDocs