Requests_Proxy_HTTP::get_auth_string()
Get the authentication string (user:pass)
{} It's a method of the class: Requests_Proxy_HTTP{}
No Hooks.
Return
String
.
Usage
$Requests_Proxy_HTTP = new Requests_Proxy_HTTP(); $Requests_Proxy_HTTP->get_auth_string();
Changelog
Since 1.6 | Introduced. |
Code of Requests_Proxy_HTTP::get_auth_string() Requests Proxy HTTP::get auth string WP 6.0
public function get_auth_string() { return $this->user . ':' . $this->pass; }