Home
last modified time | relevance | path

Searched refs:username (Results 1 - 4 of 4) sorted by relevance

/commonlibrary/rust/ylong_http/ylong_http_client/src/util/config/
H A Dsettings.rs321 /// - set username and password to login proxy server.
433 /// Pass HTTPS to the proxy URL, and set username and password which is
441 /// let builder = Proxy::https("http://example.com").basic_auth("username", "password");
443 pub fn basic_auth(mut self, username: &str, password: &str) -> Self { in basic_auth()
445 proxy.basic_auth(username, password); in basic_auth()
/commonlibrary/ets_utils/js_api_module/url/
H A Djs_url.h33 BIT2 = 2, // 2:Bit 2 Set to true,The URL has username
55 std::string username = ""; member
70 void AnalysisUsernameAndPasswd(std::string& input, std::string& username, std::string& password,
147 * Sets the username name portion of the URL��not include the port.
217 * Gets the username portion of the URL��not include the port.
H A Djs_url.cpp215 void AnalysisUsernameAndPasswd(std::string& input, std::string& username, std::string& password, in AnalysisUsernameAndPasswd() argument
244 username = user; in AnalysisUsernameAndPasswd()
252 username = userAndPasswd; in AnalysisUsernameAndPasswd()
897 AnalysisUsernameAndPasswd(strHost, urlinfo.username, urlinfo.password, flags); in AnalyStrHost()
925 AnalysisUsernameAndPasswd(strHost, urlinfo.username, urlinfo.password, flags); in AnalysisNoDefaultProtocol()
962 AnalysisUsernameAndPasswd(strHost, urlinfo.username, urlinfo.password, flags); in AnalysisOnlyHost()
1013 AnalysisUsernameAndPasswd(strHost, urlinfo.username, urlinfo.password, flags); in ParsingHostAndPath()
1089 urlData.username = baseInfo.username; in BaseInfoToUrl()
1332 temp = urlData_.username; in GetUsername()
[all...]
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/
H A Dproxy.rs76 pub(crate) fn basic_auth(&mut self, username: &str, password: &str) {
77 let auth = encode(format!("{username}:{password}").as_bytes());

Completed in 5 milliseconds