WpOrg\Requests\Proxy

Http::fsockopen_remote_host_pathpublicWP 1.6

Alter remote path before getting stream data

Method of the class: Http{}

No Hooks.

Returns

null. Nothing (null).

Usage

$Http = new Http();
$Http->fsockopen_remote_host_path( $path, $url );
$path(string) (required) (passed by reference — &)
Path to send in HTTP request string ("GET ...").
$url(string) (required)
Full URL we're requesting.

Changelog

Since 1.6 Introduced.

Http::fsockopen_remote_host_path() code WP 7.0

public function fsockopen_remote_host_path(&$path, $url) {
	$path = $url;
}