public FakeServer(int basePort)
 {
     BaseUri = new UriBuilder(Uri.UriSchemeHttp, "127.0.0.1", basePort).Uri;
     Expect = new Expect();
 }
 public ProxyMiddleware(OwinMiddleware next, Expect expect, IList<HttpRequestExpectation> capturedRequests = null)
     : base(next)
 {
     _expect = expect;
     _capturedRequests = capturedRequests;
 }
Beispiel #3
0
 public FakeServer(int basePort)
 {
     BaseUri = new UriBuilder(Uri.UriSchemeHttp, "127.0.0.1", basePort).Uri;
     Expect = new Expect();
     _capturedRequests = new List<HttpRequestExpectation>();
 }
 public ProxyMiddleware(OwinMiddleware next, Expect expect)
     : base(next)
 {
     _expect = expect;
 }