Used By
Used By | Description |
---|---|
wp-includes/class-http.php: WP_Http::request() | Send an HTTP request to a URI. |
Constructor.
(Requests_Response) (Required) HTTP response.
(string) (Optional) File name.
Default value: ''
File: wp-includes/class-wp-http-requests-response.php
public function __construct( Requests_Response $response, $filename = '' ) { $this->response = $response; $this->filename = $filename; }
Version | Description |
---|---|
4.6.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_http_requests_response/__construct