Phalcon\Http\ResponseInterface initializer
Sets the HTTP response code
Returns headers set by the user
Overwrites a header in the response
Send a raw header to the response
Resets all the stablished headers
Sets output expire time header
Sends a Not-Modified response
Sets the response content-type mime, optionally the charset
Redirect by HTTP to another action or URL
Sets HTTP response body
Sets HTTP response body. The parameter is automatically converted to JSON
$response->setJsonContent(array("status" => "OK"));
Appends a string to the HTTP response body
Gets the HTTP response body
Sends headers to the client
Sends cookies to the client
Prints out HTTP response to the client
Sets an attached file to be sent at the end of the request
© 2011–2016 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0.
https://docs.phalconphp.com/en/2.0.0/api/Phalcon_Http_ResponseInterface.html