WordPress at a glance
function is not described

WP_HTTP_Requests_Hooks::__construct() public WP 1.0

Constructor.

{} It's a method of the class: WP_HTTP_Requests_Hooks{}

No Hooks.

Return

Null. Nothing.

Usage

$WP_HTTP_Requests_Hooks = new WP_HTTP_Requests_Hooks();
$WP_HTTP_Requests_Hooks->__construct( $url, $request );
$url(string) (required)
URL to request.
$request(array) (required)
Request data in WP_Http format.

Code of WP_HTTP_Requests_Hooks::__construct() WP 5.5.2

<?php
public function __construct( $url, $request ) {
	$this->url     = $url;
	$this->request = $request;
}