void IRequestInspector.OnTransferredToSecureRequest(ProxySslRequest secureRequest)
        {
            //var secureEntry = new Entry();
            //var secureRequestInspector = new HarRequestInspector(secureRequest, new Entry())
            var secureRequestInspector = new HarRequestInspector(secureRequest, _log);

            secureRequest.RegisterInspector(secureRequestInspector);
        }
        void IProxyInspector.OnRequestReceived(ProxyRequest request)
        {
            var requestInspector = new HarRequestInspector(request, _log);

            request.RegisterInspector(requestInspector);
        }
Example #3
0
 void IProxyInspector.OnRequestReceived(ProxyRequest request)
 {
     var requestInspector = new HarRequestInspector(request, _log);
     request.RegisterInspector(requestInspector);
 }
 void IRequestInspector.OnTransferredToSecureRequest(ProxySslRequest secureRequest)
 {
     //var secureEntry = new Entry();
     //var secureRequestInspector = new HarRequestInspector(secureRequest, new Entry())
     var secureRequestInspector = new HarRequestInspector(secureRequest, _log);
     secureRequest.RegisterInspector(secureRequestInspector);
 }