Requests_Proxy_HTTP::fsockopen_header( string $out )

Add extra headers to the request before sending


Parameters

$out

(Required) HTTP header string


Source

File: wp-includes/Requests/Proxy/HTTP.php

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


Changelog

Changelog
Version Description
Requests 1.6 Introduced. Requests 1.6