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
Contents
Parameters
- $path
(string)(Required)Path to send in HTTP request string ("GET ...")
- $url
(string)(Required)Full URL we're requesting
Source
File: wp-includes/Requests/Proxy/HTTP.php
public function fsockopen_remote_host_path(&$path, $url) { $path = $url; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
1.6 | Introduced. |