Kros-sk / Kros.Libs

This repo contains Kros.Utils, Kros.Utils.MsAccess, Kros.KORM and Kros.KORM.MsAccess libraries.
MIT License
7 stars 13 forks source link

HttpMessageHandlerFactory for NetworkChecker #170

Closed ErikParso closed 5 years ago

ErikParso commented 5 years ago

Is your feature request related to a problem? Please describe

Current NetworkChecker creates HttpMessageHandler and sets only Proxy url specified in constructor. In some cases we also want to specify credentials to access proxy server.

Describe the solution you'd like

Overloaded NetworkChecker constructor with HttpMessageHandlerFactory parameter. If HttpMessageHandlerFactory is not set, HttpMessageHandler created by NetworkChecker will be used.