Requests_Proxy_HTTP::fsockopen_header

Advertisement

Summery Summery

Add extra headers to the request before sending

Syntax Syntax

Requests_Proxy_HTTP::fsockopen_header( string $out )

Parameters Parameters

$out

(string) (Required) HTTP header string

Source 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()));
	}

Advertisement

Changelog Changelog

Changelog
Version Description
1.6 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.