WP_HTTP_Requests_Response::__construct( Requests_Response $response, string $filename = '' )
Constructor.
Description Description
Parameters Parameters
- $response
-
(Requests_Response) (Required) HTTP response.
- $filename
-
(string) (Optional) File name.
Default value: ''
Source Source
File: wp-includes/class-wp-http-requests-response.php
public function __construct( Requests_Response $response, $filename = '' ) { $this->response = $response; $this->filename = $filename; }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |