drop v2
[mdref/mdref-http] / http / Env / Response.md
index dcb4f24f249592cc2b35f28c8ce9b26be5de5e9d..2b369214394538b30d6e30f524dfa06128a0b374 100644 (file)
@@ -4,6 +4,12 @@ The http\Env\Response class' instances represent the server's current HTTP respo
 
 See http\Message for inherited members.
 
+## Changelog:
+
+Version | Changes
+--------|--------
+2.2.0   | Added http\Env\Response::setCookie() and http\Env\Response::$cookies.
+
 ## Constants:
 
 * CONTENT_ENCODING_NONE  
@@ -19,21 +25,23 @@ See http\Message for inherited members.
 
 ## Properties:
 
-* protected $request = NULL  
-  A http\Env\Request instance which overrides the environments default request.
-* protected $contentType = NULL  
+* protected http\Env\Request $request = NULL  
+  A request instance which overrides the environments default request.
+* protected string $contentType = NULL  
   The response's MIME content type.
-* protected $contentDisposition = NULL  
+* protected string $contentDisposition = NULL  
   The response's MIME content disposition.
-* protected $contentEncoding = NULL  
+* protected int $contentEncoding = NULL  
   See http\Env\Response::CONTENT_ENCODING_* constants.
-* protected $cacheControl = NULL  
+* protected string $cacheControl = NULL  
   How the client should treat this response in regards to caching.
-* protected $etag = NULL  
+* protected string $etag = NULL  
   A custom ETag.
-* protected $lastModified = NULL  
+* protected int $lastModified = NULL  
   A "Last-Modified" time stamp.
-* protected $throttleDelay = NULL  
+* protected int $throttleDelay = NULL  
   Any throttling delay.
-* protected $throttleChunk = NULL  
+* protected int $throttleChunk = NULL  
   The chunk to send every $throttleDelay seconds.
+* protected array $cookies = NULL  
+  The response's cookies.