> For the complete documentation index, see [llms.txt](https://cherrycake.tin.cat/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cherrycake.tin.cat/version-1.x-beta/reference/core-modules/output/methods.md).

# Output methods

## setResponse( response ) <a href="#setresponse" id="setresponse"></a>

Sets the Response object that will be sent to the client

* **`response`** [Response](/version-1.x-beta/reference/core-classes/response.md) object

## sendResponse( response ) <a href="#sendresponse" id="sendresponse"></a>

Sends the current response. If a response is passed, sets it as the current response and then sends it.

* **`response`** Optional [Response](/version-1.x-beta/reference/core-classes/response.md) object

##
