public setExpires (DateTime $datetime) Sets an Expires header in the response that allows to use the HTTP cache $this->response->setExpires(new DateTime());
public setEtag (mixed $etag) Set a custom ETag $response->setEtag(md5(time()));
public setDI (Phalcon\DiInterface $dependencyInjector) Sets the dependency injector
public setCookies (Phalcon\Http\Response\CookiesInterface $cookies) Sets a cookies bag for the response externally
public setContentType (mixed $contentType, [mixed $charset]) Sets the response content-type mime, optionally the charset $response->setContentType('application/pdf'); $response->setContentType('text/plain', 'UTF-8');
public setContentLength (mixed $contentLength) Sets the response content-length $response->setContentLength(2048);
public setContent (mixed $content) Sets HTTP response body response->setContent("<h1>Hello!</h1>");
public setCache (mixed $minutes) Sets Cache headers to use HTTP cache $this->response->setCache(60);
public sendHeaders () Sends headers to the client
public sendCookies () Sends cookies to the client
Page 223 of 382