예제 #1
0
 public static void Initialize(TinyHttpClientPoolConfiguration configuration = null)
 {
     if (_instance == null)
     {
         _instance = new TinyHttpClientPool(configuration);
     }
 }
예제 #2
0
        public TinyHttpClientPool(TinyHttpClientPoolConfiguration configuration = null)
        {
            _pool = new List <TinyHttpClient>();

            Configuration = configuration ?? new TinyHttpClientPoolConfiguration();
        }