On this page
WP_HTTP_Proxy::authentication_header(): string
Retrieve header string for proxy authentication.
Return
string
Source
File: wp-includes/class-wp-http-proxy.php. View all references
public function authentication_header() {
return 'Proxy-Authorization: Basic ' . base64_encode( $this->authentication() );
}
Related
Uses
| Uses | Description |
|---|---|
| WP_HTTP_Proxy::authentication() wp-includes/class-wp-http-proxy.php | Retrieve authentication string for proxy authentication. |
Changelog
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_http_proxy/authentication_header