Requests_Proxy_HTTP::fsockopen_remote_host_path() WordPress Method

The fsockopen_remote_host_path() method in the Requests_Proxy_HTTP class is used to connect to a remote host and path using a socket connection. This method is used by the fsockopen() method to connect to the remote host.

Requests_Proxy_HTTP::fsockopen_remote_host_path( string $path, string $url ) #

Alter remote path before getting stream data


Parameters

$path

(string)(Required)Path to send in HTTP request string ("GET ...")

$url

(string)(Required)Full URL we're requesting


Top ↑

Source

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

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

Top ↑

Changelog

Changelog
VersionDescription
1.6Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.