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


Parameters

$remote_socket

(string)(Required)Socket connection string


Top ↑

Source

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

	public function fsockopen_remote_socket(&$remote_socket) {
		$remote_socket = $this->proxy;
	}

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.