 
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Reflection;
using System.Security.Cryptography.X509Certificates;
using System.ServiceModel;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using XYY.Core.Standard.FiddlerClient.Model;

namespace XYY.Core.Standard.FiddlerClient
{
    public class FiddlerClient : IDisposable
    {
        public void Dispose()
        {

        }

        public static void SetProxy(System.ServiceModel.BasicHttpBinding basicHttpBinding)
        {

        }
        #region 事件处理方式
        /// <summary>
        /// 命中请求
        /// 判断是否需要捕获
        /// </summary>
        /// <param name="oSession"></param>
        /// <returns></returns> 
        //try
        //{
        //    sessionsLock.EnterWriteLock();
        //    sessions.Add(oSession);
        //}
        //finally
        //{
        //    sessionsLock.ExitWriteLock();
        //}
        //if (isHitRequestFun(oSession))
        //{
        //    string test = oSession.GetRequestBodyAsString();
        //    string ss = oSession.RequestHeaders.ToString();
        //    string aa = oSession.hostname;
        //    int oSessionId = oSession.id;
        //}
    }
    #endregion
    #region 数据落地 
    #endregion
}
