Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Mobile
    • Hosting
    • Openverse ↗︎
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • Developers
    • WordPress.tv ↗︎
  • Community
    • Make WordPress
    • Photo Directory
    • Five for the Future
    • WordCamp ↗︎
    • Meetups ↗︎
    • Job Board ↗︎
  • About
    • About WordPress
    • Showcase
    • Enterprise
    • Gutenberg ↗︎
    • WordPress Swag Store ↗︎
  • Get WordPress
Get WordPress

Developer Resources

Browse: Home / Reference / wp-includes/class-wp-http-response.php

WP_HTTP_Response::get_data()

Method: Retrieves the response data.

Source: wp-includes/class-wp-http-response.php:126

Used by 1 function | Uses 0 functions

WP_HTTP_Response::set_data()

Method: Sets the response data.

Source: wp-includes/class-wp-http-response.php:137

Used by 1 function | Uses 0 functions

WP_HTTP_Response::jsonSerialize()

Method: Retrieves the response data for JSON serialization.

Source: wp-includes/class-wp-http-response.php:151

Used by 0 functions | Uses 1 function

WP_HTTP_Response

Class: Core class used to prepare HTTP responses.

Source: wp-includes/class-wp-http-response.php:16

Used by 2 functions | Uses 0 functions

WP_HTTP_Response::__construct()

Method: Constructor.

Source: wp-includes/class-wp-http-response.php:51

Used by 0 functions | Uses 3 functions

WP_HTTP_Response::get_headers()

Method: Retrieves headers associated with the response.

Source: wp-includes/class-wp-http-response.php:64

Used by 0 functions | Uses 0 functions

WP_HTTP_Response::set_headers()

Method: Sets all header values.

Source: wp-includes/class-wp-http-response.php:75

Used by 1 function | Uses 0 functions

WP_HTTP_Response::header()

Method: Sets a single HTTP header.

Source: wp-includes/class-wp-http-response.php:89

Used by 0 functions | Uses 0 functions

WP_HTTP_Response::get_status()

Method: Retrieves the HTTP return code for the response.

Source: wp-includes/class-wp-http-response.php:104

Used by 0 functions | Uses 0 functions

WP_HTTP_Response::set_status()

Method: Sets the 3-digit HTTP status code.

Source: wp-includes/class-wp-http-response.php:115

Used by 1 function | Uses 1 function
  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry