WpOrg\Requests\Proxy

Http::fsockopen_remote_host_path()publicWP 1.6

Alter remote path before getting stream data

Method of the class: Http{}

No Hooks.

Return

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 6.6.2

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