X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http%2FEnv%2FResponse.md;h=2b369214394538b30d6e30f524dfa06128a0b374;hb=280e2cd3c237e14c6b8659cd4e7c604dbe5e9ec6;hp=dcb4f24f249592cc2b35f28c8ce9b26be5de5e9d;hpb=aa6f2151a85bd39270a9a341eca8ad1f9a095944;p=mdref%2Fmdref-http diff --git a/http/Env/Response.md b/http/Env/Response.md index dcb4f24..2b36921 100644 --- a/http/Env/Response.md +++ b/http/Env/Response.md @@ -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.