Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 470 Bytes

proxy-events.md

File metadata and controls

14 lines (9 loc) · 470 Bytes

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.

component{

    function preProxyResults(event, interceptData){
        log.debug("Proxy request finalized: ", interceptData.proxyResults );
    }

}