1 <?php
2 /**
3 * @package Joomla.Platform
4 * @subpackage HTTP
5 *
6 * @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
7 * @license GNU General Public License version 2 or later; see LICENSE
8 */
9
10 defined('JPATH_PLATFORM') or die;
11
12 /**
13 * HTTP response data object class.
14 *
15 * @since 11.3
16 */
17 class JHttpResponse
18 {
19 /**
20 * @var integer The server response code.
21 * @since 11.3
22 */
23 public $code;
24
25 /**
26 * @var array Response headers.
27 * @since 11.3
28 */
29 public $headers = array();
30
31 /**
32 * @var string Server response body.
33 * @since 11.3
34 */
35 public $body;
36 }
37