Inheritance: Owin.Response, IResponse
Example #1
0
 // TODO when we integrate Owin.Session's using cookies and whatnot, this should reset the session
 public MockSession ResetSession()
 {
     LastRequest  = null;
     LastResponse = null;
     return(this);
 }
Example #2
0
 // TODO when we integrate Owin.Session's using cookies and whatnot, this should reset the session
 public MockSession ResetSession()
 {
     LastRequest  = null;
     LastResponse = null;
     return this;
 }
Example #3
0
 public MockResponse GetResponse(MockRequest request)
 {
     LastRequest  = request;
     LastResponse = new MockResponse(Application.Invoke(App, request));
     return(LastResponse);
 }
Example #4
0
 public MockResponse GetResponse(MockRequest request)
 {
     LastRequest  = request;
     LastResponse = new MockResponse(Application.Invoke(App, request));
     return LastResponse;
 }