WpOrg\Requests\Proxy

Http::fsockopen_remote_socket()publicWP 1.6

Alter remote socket information before opening socket connection

Method of the class: Http{}

No Hooks.

Return

null. Nothing (null).

Usage

$Http = new Http();
$Http->fsockopen_remote_socket( $remote_socket );
$remote_socket(string) (required) (passed by reference — &)
Socket connection string

Changelog

Since 1.6 Introduced.

Http::fsockopen_remote_socket() code WP 6.7.1

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