Changeset 59009 for trunk/src/wp-includes/class-wp-http.php
- Timestamp:
- 09/11/2024 12:06:15 PM (14 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-http.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-http.php
r57936 r59009 146 146 * 147 147 * } 148 * @return array|WP_Error Array containing 'headers', 'body', 'response', 'cookies', 'filename'. 149 * A WP_Error instance upon error. 148 * @return array|WP_Error { 149 * Array of response data, or a WP_Error instance upon error. 150 * 151 * @type \WpOrg\Requests\Utility\CaseInsensitiveDictionary $headers Response headers keyed by name. 152 * @type string $body Response body. 153 * @type array $response { 154 * Array of HTTP response data. 155 * 156 * @type int|false $code HTTP response status code. 157 * @type string|false $message HTTP response message. 158 * } 159 * @type WP_HTTP_Cookie[] $cookies Array of cookies set by the server. 160 * @type string|null $filename Optional. Filename of the response. 161 * @type WP_HTTP_Requests_Response|null $http_response Response object. 162 * } 150 163 */ 151 164 public function request( $url, $args = array() ) {
Note: See TracChangeset
for help on using the changeset viewer.