WordPress at a glance
function is not described

WP_HTTP_Proxy::authentication_header() public WP 2.8.0

Retrieve header string for proxy authentication.

{} It's a method of the class: WP_HTTP_Proxy{}

No Hooks.

Return

String.

Usage

$WP_HTTP_Proxy = new WP_HTTP_Proxy();
$WP_HTTP_Proxy->authentication_header();

Changelog

Since 2.8.0 Introduced.

Code of WP_HTTP_Proxy::authentication_header() WP 5.7.2

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