WP_HTTP_Proxy::authentication_header()

Retrieve header string for proxy authentication.

Return

(string)

Source

File: wp-includes/class-wp-http-proxy.php

public function authentication_header() {
		return 'Proxy-Authorization: Basic ' . base64_encode( $this->authentication() );
	}

Changelog

Version Description
2.8.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_http_proxy/authentication_header