Proxy Events
The ColdBox Proxy also has a different life cycle than traditional MVC. All of a request's interception points fire with one addition: preProxyResults. This event fires right before the proxy returns results back to proxies. This is a great way to do transformations, logging, etc.
1
component{
2
3
function preProxyResults(event, interceptData){
4
log.debug("Proxy request finalized: ", interceptData.proxyResults );
5
}
6
7
}
Copied!
Copy link