Esempio n. 1
0
 public static Session ToNekoxySession(this Fiddler.Session session)
 {
     session.utilDecodeResponse();
     return(new Session
     {
         Request = new HttpRequest(session.GenerateRequestLine(), session.RequestHeaders.GenerateHeaders(), session.RequestBody),
         Response = new HttpResponse(session.GenerateStatusLine(), session.ResponseHeaders.GenerateHeaders(), session.ResponseBody)
     });
 }
Esempio n. 2
0
 private static void raiseResponseHeadersAvailable(Fiddler.Session session)
 {
     InvokeAfterReadResponseHeaders(new HttpResponse(session.GenerateStatusLine(), session.ResponseHeaders.GenerateHeaders(), null));
 }