Esempio n. 1
0
 public MockHttpClient(string baseAddress)
 {
     this.baseAddress = baseAddress;
     Setups           = new SetupCollection();
     handler          = new HttpMessageHandler(Setups);
     httpClient       = new SystemHttpClient(handler)
     {
         BaseAddress = new Uri(baseAddress),
     };
 }
Esempio n. 2
0
 public HttpMessageHandler(SetupCollection setups)
 {
     this.setups = setups;
 }