Exemplo n.º 1
0
 public static void Initialize(TinyHttpClientPoolConfiguration configuration = null)
 {
     if (_instance == null)
     {
         _instance = new TinyHttpClientPool(configuration);
     }
 }
Exemplo n.º 2
0
        public TinyHttpClientPool(TinyHttpClientPoolConfiguration configuration = null)
        {
            _pool = new List <TinyHttpClient>();

            Configuration = configuration ?? new TinyHttpClientPoolConfiguration();
        }