Requests_Auth_Basic::fsockopen_header( string $out )

Add extra headers to the request before sending


Description Description


Parameters Parameters

$out

(string) (Required) HTTP header string


Top ↑

Source Source

File: wp-includes/Requests/Auth/Basic.php

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


Top ↑

User Contributed Notes User Contributed Notes

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