Requests_Proxy_HTTP::get_auth_string() WordPress Method
The get_auth_string() function is part of the Requests_Proxy_HTTP class, which provides an interface for making HTTP requests via a proxy server. This function returns an authentication string for use with a proxy server that requires authentication. The string is formatted as follows: "username:password".
Requests_Proxy_HTTP::get_auth_string() #
Get the authentication string (user:pass)
Return
(string)
Source
File: wp-includes/Requests/Proxy/HTTP.php
public function get_auth_string() { return $this->user . ':' . $this->pass; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
1.6 | Introduced. |