Requests_Response::__construct() WordPress Method
The Requests_Response::__construct() method is used to construct a new HTTP response object. This method is usually called by the Requests::request() method, but can also be called directly.
Requests_Response::__construct() #
Constructor
Source
File: wp-includes/Requests/Response.php
public function __construct() { $this->headers = new Requests_Response_Headers(); $this->cookies = new Requests_Cookie_Jar(); }
Expand full source codeCollapse full source codeView on TracView on GitHub