Web API框架学习——消息管道(二)

it2022-05-08  8

HttpServer的GlobalConfiguration中创建:

GlobalConfiguration中确定了第一个HttpMessageHandler消息管道: 首:DefaultServer

HttpServer.Initialize方法完成对整个消息管道的创建     HttpMessageHandler类型(实际为HttpRoutingDispathcher)的变量Dispathcher是消息管道的最后一个管道 继承关系:HttpServer:DelegatingHandler:HttpMessageHandler   HttpRoutingDispathcher的创建:

 

转载于:https://www.cnblogs.com/liubiao/p/5244446.html


最新回复(0)