Http\ResponseInterface
Interface Phalcon\Http\ResponseInterface
Phalcon\Http\ResponseInterface initializer
Methods
abstract public Phalcon\Http\ResponseInterface setStatusCode (int $code, string $message)
Sets the HTTP response code
abstract public Phalcon\Http\Response\Headers getHeaders ()
Returns headers set by the user
abstract public Phalcon\Http\ResponseInterface setHeader (string $name, string $value)
Overwrites