Open maartenmensink opened 2 years ago
Hey @maartenmensink, Ideally you'll not need to create instances of the handler if you are using the builder. The .Build()
method returns an instance of the HttpTracerHandler to you, with all the inner handlers setup.
Due to the fact that the constructor always sets the InnerHandler the
HttpTracerHandler
wont play nice withHttpClientBuilder.AddHttpMessageHandler<>()
method.A constructor overload or options allow the HttpTracerHandler to be construct with the InnerHandler not being set would fix this.