这样做的最佳方式是什么?
我在考虑类似的事情:
public void Initialize(IPipeline pipelineRunner)
{
pipelineRunner
.Notify(CaptureRequestStartTime)
.Before<KnownStages.IBegin>();
pipelineRunner
.Notify(LogRequestTimeWithStatsd)
.After<KnownStages.IEnd>();
}
但是知道内部人员的一些建议可能会有用。
是否可以在开放的rasta中添加自定义http处理程序?