@@ -29,10 +29,10 @@ |
||
29 | 29 | { |
30 | 30 | |
31 | 31 | protected $fields = array( |
32 | - 'body' => null, // Response body. |
|
33 | - 'httpCode' => null, // HTTP response code. |
|
34 | - 'runtime' => null, // Request execution time. |
|
35 | - 'httpHeaderList' => null, // Header list. |
|
36 | - 'httpCookieList' => null, // Cookie list. |
|
32 | + 'body' => null, // Response body. |
|
33 | + 'httpCode' => null, // HTTP response code. |
|
34 | + 'runtime' => null, // Request execution time. |
|
35 | + 'httpHeaderList' => null, // Header list. |
|
36 | + 'httpCookieList' => null, // Cookie list. |
|
37 | 37 | ); |
38 | 38 | } |
@@ -39,14 +39,14 @@ |
||
39 | 39 | * @var array |
40 | 40 | */ |
41 | 41 | protected $fields = array( |
42 | - 'name' => null, // The name of the cookie. |
|
43 | - 'value' => null, // The value of the cookie. |
|
44 | - 'expires' => '', // The time the cookie expires. |
|
45 | - 'path' => '', // The path on the server in which the cookie will be available on. |
|
46 | - 'domain' => '', // The (sub)domain that the cookie is available to. |
|
47 | - 'secure' => false, // Indicates that the cookie should only be transmitted over |
|
42 | + 'name' => null, // The name of the cookie. |
|
43 | + 'value' => null, // The value of the cookie. |
|
44 | + 'expires' => '', // The time the cookie expires. |
|
45 | + 'path' => '', // The path on the server in which the cookie will be available on. |
|
46 | + 'domain' => '', // The (sub)domain that the cookie is available to. |
|
47 | + 'secure' => false, // Indicates that the cookie should only be transmitted over |
|
48 | 48 | // a secure HTTPS connection from the client. |
49 | - 'httponly' => false, // When TRUE the cookie will be made accessible only through the HTTP protocol. |
|
49 | + 'httponly' => false, // When TRUE the cookie will be made accessible only through the HTTP protocol. |
|
50 | 50 | ); |
51 | 51 | |
52 | 52 | /** |
@@ -68,11 +68,11 @@ |
||
68 | 68 | const HTTP_METHOD_HEADER = 'HEADER'; |
69 | 69 | |
70 | 70 | protected $fields = array( |
71 | - 'method' => self::HTTP_METHOD_GET, // HTTP request method. |
|
72 | - 'url' => null, // URL request. |
|
73 | - 'body' => null, // Request body. |
|
74 | - 'bodyFormat' => self::FORMAT_FORM_URLENCODED, // Body data format. |
|
75 | - 'timeOut' => 60, // The maximum number of seconds allowed to execute a query. |
|
71 | + 'method' => self::HTTP_METHOD_GET, // HTTP request method. |
|
72 | + 'url' => null, // URL request. |
|
73 | + 'body' => null, // Request body. |
|
74 | + 'bodyFormat' => self::FORMAT_FORM_URLENCODED, // Body data format. |
|
75 | + 'timeOut' => 60, // The maximum number of seconds allowed to execute a query. |
|
76 | 76 | ); |
77 | 77 | |
78 | 78 | /** |
@@ -26,8 +26,8 @@ |
||
26 | 26 | * @var array |
27 | 27 | */ |
28 | 28 | protected $fields = array( |
29 | - 'name' => null, // Header name. |
|
30 | - 'value' => null, // Header value. |
|
29 | + 'name' => null, // Header name. |
|
30 | + 'value' => null, // Header value. |
|
31 | 31 | ); |
32 | 32 | |
33 | 33 | /** |
@@ -25,9 +25,9 @@ |
||
25 | 25 | { |
26 | 26 | |
27 | 27 | protected $fields = array( |
28 | - 'runtime' => null, // Request execution time. |
|
29 | - 'httpCode' => null, // HTTP response code. |
|
30 | - 'headerSize' => null, // Header block length. |
|
31 | - 'responseBody' => null, // Response body. |
|
28 | + 'runtime' => null, // Request execution time. |
|
29 | + 'httpCode' => null, // HTTP response code. |
|
30 | + 'headerSize' => null, // Header block length. |
|
31 | + 'responseBody' => null, // Response body. |
|
32 | 32 | ); |
33 | 33 | } |