Skip to content

Controller

setResponse()

setResponse() — returns void

Available in: controller Category: Rendering Functions

Sets content that CFWheels will send to the client in response to the request.

NameTypeRequiredDefaultDescription
contentstringyesThe content to send to the client.
setResponse(newReponse);