Sometimes an end user may need to customize the way the HttpClient works, due to weird configuration issues such as a proxy making it the HttpClient behave oddly, so a method that accepts a factory to create the HttpClient in VndbUtils would be useful to have around.
The method signature might look like public static void WithHttpHandlerFactory(Func<Task<HttpMessageHandler>> callback)
Sometimes an end user may need to customize the way the
HttpClient
works, due to weird configuration issues such as a proxy making it theHttpClient
behave oddly, so a method that accepts a factory to create theHttpClient
inVndbUtils
would be useful to have around.The method signature might look like
public static void WithHttpHandlerFactory(Func<Task<HttpMessageHandler>> callback)