Requests_Proxy_HTTP::fsockopen_header( string $out )

Add extra headers to the request before sending


Parameters

$out string Required
HTTP header string

Top ↑

Source

File: wp-includes/Requests/Proxy/HTTP.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
1.6 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.