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