Requests_Proxy_HTTP::fsockopen_remote_socket() WordPress Method
The fsockopen_remote_socket() method in the Requests_Proxy_HTTP class is used to establish a socket connection to a remote server. This is useful for making HTTP requests through a proxy server.
Requests_Proxy_HTTP::fsockopen_remote_socket( string $remote_socket ) #
Alter remote socket information before opening socket connection
Contents
Parameters
- $remote_socket
(string)(Required)Socket connection string
Source
File: wp-includes/Requests/Proxy/HTTP.php
public function fsockopen_remote_socket(&$remote_socket) { $remote_socket = $this->proxy; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
1.6 | Introduced. |