WordPress at a glance
function is not described

Requests_Proxy_HTTP::fsockopen_header() public WP 1.6

Add extra headers to the request before sending

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

No Hooks.

Return

Null. Nothing.

Usage

$Requests_Proxy_HTTP = new Requests_Proxy_HTTP();
$Requests_Proxy_HTTP->fsockopen_header( $out );
$out(string) (required) (passed by reference — &)
HTTP header string

Changelog

Since 1.6 Introduced.

Code of Requests_Proxy_HTTP::fsockopen_header() WP 5.5.1

<?php
public function fsockopen_header(&$out) {
	$out .= sprintf("Proxy-Authorization: Basic %s\r\n", base64_encode($this->get_auth_string()));
}