You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently if we just want to wrap the handler, we have to copy the code creating the SocketsHttpHandler from DefaultHttpMessageInvokerFactory.CreateClient.
The text was updated successfully, but these errors were encountered:
I'd like to suggest extracting the handler creation here to a separate virtual method:
BFF/src/Duende.Bff.Yarp/DefaultHttpMessageInvokerFactory.cs
Lines 26 to 32 in 0ad3cde
Something like:
This will allow derived classes to wrap the base handler in additional
DelegatingHandler
(s). For instance:Currently if we just want to wrap the handler, we have to copy the code creating the
SocketsHttpHandler
fromDefaultHttpMessageInvokerFactory.CreateClient
.The text was updated successfully, but these errors were encountered: