ResponseTime

RobeeeJay edited this page Aug 23, 2012 · 1 revision

This module adds an "X-Response-time" header to all responses, featuring the time taken for the request to be processed. It should be placed as early in the stack as possible.

new fw.ResponseTime({ });

This module accepts no specific arguments.

Simple Example

var stackFull = new fw.Stack();

stackFull.append(new fw.ResponseTime());

That's um, that's it!