$73 GRAYBYTE WORDPRESS FILE MANAGER $59

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.162.162 | ADMIN IP 216.73.216.51
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/home/bravetechrwanda/itiministry.org/wp-includes/images/

HOME
Current File : /home/bravetechrwanda/itiministry.org/wp-includes/images//class-wp-http-response.php
<?php
/**
 * HTTP API: WP_HTTP_Response class
 *
 * @package WordPress
 * @subpackage HTTP
 * @since 4.4.0
 */

/**
 * Core class used to prepare HTTP responses.
 *
 * @since 4.4.0
 */
#[AllowDynamicProperties]
class WP_HTTP_Response {

	/**
	 * Response data.
	 *
	 * @since 4.4.0
	 * @var mixed
	 */
	public $data;

	/**
	 * Response headers.
	 *
	 * @since 4.4.0
	 * @var array
	 */
	public $headers;

	/**
	 * Response status.
	 *
	 * @since 4.4.0
	 * @var int
	 */
	public $status;

	/**
	 * Constructor.
	 *
	 * @since 4.4.0
	 *
	 * @param mixed $data    Response data. Default null.
	 * @param int   $status  Optional. HTTP status code. Default 200.
	 * @param array $headers Optional. HTTP header map. Default empty array.
	 */
	public function __construct( $data = null, $status = 200, $headers = array() ) {
		$this->set_data( $data );
		$this->set_status( $status );
		$this->set_headers( $headers );
	}

	/**
	 * Retrieves headers associated with the response.
	 *
	 * @since 4.4.0
	 *
	 * @return array Map of header name to header value.
	 */
	public function get_headers() {
		return $this->headers;
	}

	/**
	 * Sets all header values.
	 *
	 * @since 4.4.0
	 *
	 * @param array $headers Map of header name to header value.
	 */
	public function set_headers( $headers ) {
		$this->headers = $headers;
	}

	/**
	 * Sets a single HTTP header.
	 *
	 * @since 4.4.0
	 *
	 * @param string $key     Header name.
	 * @param string $value   Header value.
	 * @param bool   $replace Optional. Whether to replace an existing header of the same name.
	 *                        Default true.
	 */
	public function header( $key, $value, $replace = true ) {
		if ( $replace || ! isset( $this->headers[ $key ] ) ) {
			$this->headers[ $key ] = $value;
		} else {
			$this->headers[ $key ] .= ', ' . $value;
		}
	}

	/**
	 * Retrieves the HTTP return code for the response.
	 *
	 * @since 4.4.0
	 *
	 * @return int The 3-digit HTTP status code.
	 */
	public function get_status() {
		return $this->status;
	}

	/**
	 * Sets the 3-digit HTTP status code.
	 *
	 * @since 4.4.0
	 *
	 * @param int $code HTTP status.
	 */
	public function set_status( $code ) {
		$this->status = absint( $code );
	}

	/**
	 * Retrieves the response data.
	 *
	 * @since 4.4.0
	 *
	 * @return mixed Response data.
	 */
	public function get_data() {
		return $this->data;
	}

	/**
	 * Sets the response data.
	 *
	 * @since 4.4.0
	 *
	 * @param mixed $data Response data.
	 */
	public function set_data( $data ) {
		$this->data = $data;
	}

	/**
	 * Retrieves the response data for JSON serialization.
	 *
	 * It is expected that in most implementations, this will return the same as get_data(),
	 * however this may be different if you want to do custom JSON data handling.
	 *
	 * @since 4.4.0
	 *
	 * @return mixed Any JSON-serializable value.
	 */
	public function jsonSerialize() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid
		return $this->get_data();
	}
}

Current_dir [ WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
25 May 2026 10.46 PM
bravetechrwanda / bravetechrwanda
0755
crystal
--
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0755
media
--
5 May 2026 11.31 PM
bravetechrwanda / bravetechrwanda
0755
smilies
--
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0755
wk
--
8 Feb 2026 11.06 PM
bravetechrwanda / bravetechrwanda
0755
wp-site
--
30 Mar 2026 6.20 PM
bravetechrwanda / bravetechrwanda
0755
admin-bar-sprite-2x.png
3.905 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
admin-bar-sprite.png
2.409 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
arrow-pointer-blue-2x.png
1.627 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
arrow-pointer-blue.png
0.774 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
blank.gif
0.042 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
canonical.php
33.833 KB
2 Dec 2025 11.05 PM
bravetechrwanda / bravetechrwanda
0644
class-http.php
0.358 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
class-phpass.php
6.612 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
class-wp-customize-panel.php
10.459 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
class-wp-feed-cache.php
0.946 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
class-wp-http-ixr-client.php
3.424 KB
11 Mar 2026 8.22 AM
bravetechrwanda / bravetechrwanda
0644
class-wp-http-response.php
2.907 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
down_arrow-2x.gif
0.082 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
down_arrow.gif
0.058 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
error_log
3.219 KB
11 May 2026 6.52 AM
bravetechrwanda / bravetechrwanda
0644
icon-pointer-flag-2x.png
1.337 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
icon-pointer-flag.png
0.765 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
nav-menu-template.php
25.381 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
robots-template.php
5.063 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
rss-2x.png
1.275 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
rss-functions.php
0.249 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
rss.png
0.594 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
rss2.png
5.19 MB
11 Dec 2024 8.52 AM
bravetechrwanda / bravetechrwanda
0644
shortcodes.php
23.486 KB
2 Dec 2025 11.05 PM
bravetechrwanda / bravetechrwanda
0644
spinner-2x.gif
7.359 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
spinner.gif
3.57 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
spreadsheet.svg
0.449 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
toggle-arrow-2x.png
0.346 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
toggle-arrow.png
0.282 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
uploader-icons-2x.png
3.459 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
uploader-icons.png
1.52 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
w-facdeaaefbeacedfc.gif
55.74 KB
21 Oct 2025 12.12 AM
bravetechrwanda / bravetechrwanda
0644
w-logo-blue-white-bg.png
4.022 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
w-logo-blue.png
3.04 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
wp-db.php
0.435 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
wpicons-2x.png
14.581 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
wpicons.png
6.92 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
wpspin-1x.gif
20.462 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
wpspin-2x.gif
8.667 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
wpspin.gif
2.004 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
xit-2x.gif
0.806 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
xit-3x.gif
20.462 KB
21 Oct 2025 12.12 AM
bravetechrwanda / bravetechrwanda
0644
xit.gif
0.177 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF Static GIF