Writing Response Components
Writing Response Components
No methods for this task.
Emitting the Response
Emitting the Response
No methods for this task.
Other Methods
Other Methods
- final public function setShowStackTraces($show_stack_traces)
- final public function getShowStackTraces()
- final public function writeHTTPStatus($code, $message) — Write an HTTP status code to the output.
- final public function writeHeaders($headers) — Write HTTP headers to the output.
- final public function writeData($data) — Write HTTP body data to the output.
- final public function writeResponse($response) — Write an entire @{class:AphrontResponse} to the output.
- abstract protected function emitHTTPStatus($code, $message)
- abstract protected function emitHeader($name, $value)
- abstract protected function emitData($data)
- abstract protected function isWritable()