Beispiel #1
0
 public FakeServer(int basePort)
 {
     BaseUri = new UriBuilder(Uri.UriSchemeHttp, "127.0.0.1", basePort).Uri;
     Expect = new Expect();
     _capturedRequests = new List<HttpRequestExpectation>();
 }
 public FakeServer(int basePort)
 {
     BaseUri = new UriBuilder(Uri.UriSchemeHttp, "127.0.0.1", basePort).Uri;
     Expect = new Expect();
 }
Beispiel #3
0
 public ProxyMiddleware(OwinMiddleware next, Expect expect, IList <HttpRequestExpectation> capturedRequests = null) : base(next)
 {
     _expect           = expect;
     _capturedRequests = capturedRequests;
 }
Beispiel #4
0
 public FakeServer(int basePort)
 {
     BaseUri = new Uri("http://127.0.0.1:" + basePort);
     Expect  = new Expect();
 }
 public ProxyMiddleware(OwinMiddleware next, Expect expect, IList<HttpRequestExpectation> capturedRequests = null)
     : base(next)
 {
     _expect = expect;
     _capturedRequests = capturedRequests;
 }
 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;
 }