4

做这个的最好方式是什么?

我在想类似的事情:

    public void Initialize(IPipeline pipelineRunner)
    {
        pipelineRunner
            .Notify(CaptureRequestStartTime)
            .Before<KnownStages.IBegin>();

        pipelineRunner
            .Notify(LogRequestTimeWithStatsd)
            .After<KnownStages.IEnd>();
    }

但是了解内部情况的人的一些建议可能会有用。

是否可以在打开的 rasta 中添加自定义 http 处理程序?

4

0 回答 0