Пример #1
0
 public SharedCookieMultiClient(EasyCookieContainer credentials = null)
 {
     Credentials = credentials ?? new EasyCookieContainer();
     _clientPool = new HttpClientPool(credentials);
 }
Пример #2
0
 public HttpClientPool(EasyCookieContainer cookieContainer)
 {
     CookieContainer = cookieContainer;
     _clientQueues   = new ConcurrentDictionary <string, ConcurrentQueue <HttpClient> >();
 }