What is the best way to do this?
I was thinking about something like:
public void Initialize(IPipeline pipelineRunner)
{
pipelineRunner
.Notify(CaptureRequestStartTime)
.Before<KnownStages.IBegin>();
pipelineRunner
.Notify(LogRequestTimeWithStatsd)
.After<KnownStages.IEnd>();
}
but a bit of advice from someone who knows the internals might be useful.
Is it possible to add custom http handlers in open rasta?