Exemplo n.º 1
0
 internal HttpClientHandler(IMonoHttpClientHandler monoHandler)
 {
     if (monoHandler != null)
     {
         _monoHandler = monoHandler;
     }
     else
     {
         _socketsHttpHandler      = new SocketsHttpHandler();
         ClientCertificateOptions = ClientCertificateOption.Manual;
     }
 }
Exemplo n.º 2
0
 internal HttpClientHandler(IMonoHttpClientHandler handler)
 {
     _delegatingHandler       = handler;
     ClientCertificateOptions = ClientCertificateOption.Manual;
 }