Your Rating: Results: PatheticBadOKGoodOutstanding! 1 rates

Description

Sets the custom responses.

History

ColdFusion 10: Added this function

Syntax

restSetResponse(response)

Parameters

Parameter

Description

response

A struct that contains the response details.

Warning

restSetResponse() can only be used on function with a return type of void. It will cause errors if it is used on functions that have any other return type.

Example

Labels
  • None

Searching ColdFusion English Documentation