예제 #1
0
        internal static bool DoReadRequestBuffer(Session oS, byte[] arrBytes, int cBytes)
        {
            if (FiddlerApplication.OnReadRequestBuffer == null)
            {
                return(true);
            }
            if (oS.isFlagSet(SessionFlags.Ignored))
            {
                return(true);
            }
            RawReadEventArgs rawReadEventArgs = new RawReadEventArgs(oS, arrBytes, cBytes);

            FiddlerApplication.OnReadRequestBuffer(oS, rawReadEventArgs);
            return(!rawReadEventArgs.AbortReading);
        }