Closed engenb closed 7 years ago
thinking of adding an IClientBuilder interface that is similar to asp.net core's IAppBuilder with .Use(object[] args) signature.
T would need to be a DelegatingHandler with a ctor signature matching the arg types given.
constructed DelegatingHandler would have its InnerHandler set to the next DelegatingHandler in the pipeline.
last DelegatingHandler in the pipeline gets the default HttpClientHandler
thinking of adding an IClientBuilder interface that is similar to asp.net core's IAppBuilder with .Use(object[] args) signature.
T would need to be a DelegatingHandler with a ctor signature matching the arg types given.
constructed DelegatingHandler would have its InnerHandler set to the next DelegatingHandler in the pipeline.
last DelegatingHandler in the pipeline gets the default HttpClientHandler