Constructor.
Parameters
$url
stringrequired- URL to request.
$request
arrayrequired- Request data in WP_Http format.
Source
public function __construct( $url, $request ) {
$this->url = $url;
$this->request = $request;
}
CARVIEW |
Constructor.
$url
stringrequired$request
arrayrequiredpublic function __construct( $url, $request ) {
$this->url = $url;
$this->request = $request;
}
Used by | Description |
---|---|
WP_Http::request()wp-includes/class-wp-http.php | Send an HTTP request to a URI. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.