WP_HTTP_Response
Core class used to prepare HTTP responses.
Core class used to prepare HTTP responses.
Constructor.
Retrieves the response data.
Retrieves headers associated with the response.
Retrieves the HTTP return code for the response.
Sets a single HTTP header.
Retrieves the response data for JSON serialization.
Sets the response data.
Sets all header values.
Sets the 3-digit HTTP status code.