Beispiel #1
0
        public string Process(string url, string body, string response, IHttpDataCleaner secureCleaner)
        {
            var httpResult = new HttpResult
            {
                URL          = url,
                RequestBody  = body,
                ResponseBody = response
            };

            secureCleaner.CleanHttp(httpResult);

            Log(httpResult);
            return(response);
        }
 public void TestInitialize()
 {
     restCleaner = new HttpRESTCleaner();
 }
 public void TestInitialize()
 {
     getCleaner = new HttpGETCleaner();
 }