ProfilingHandler

A wrapper handler that can be applied over another, to record performance statistics at runtime. The profiling handler will collect basic information about each request that's handled by a given handler, and pass it on to a data handler. The data handler might write the data to a file, use it for aggregate statistics, or logging.

class ProfilingHandler : HttpRequestHandler {}

Inherited Members

From HttpRequestHandler

handle
void handle(HttpRequestContext ctx)

Handles an HTTP request. Note that this method may be called from multiple threads, as requests may be processed in parallel, so you should avoid performing actions which are not thread-safe.