Example #1
0
        public Client(Socket sock, bool useHttpOnly)
        {
            this.mUseHttpOnly = useHttpOnly;
            this.mSock1       = sock;

            this.ProxyFirstByteFilter        = this.AlwaysAcceptedProxyFilter;
            this.ProxyRemoteConnectionFilter = this.AlwaysAcceptedProxyFilter;
        }
Example #2
0
        private bool InvokeProxyEventCallback(ProxyEventCallback callback)
        {
            bool result = false;

            if (callback != null)
            {
                try
                {
                    result = callback(this);
                }
                catch (Exception)
                {
                    //
                }
            }
            return(result);
        }