예제 #1
0
        internal HttpListenerContext GetContext()
        {
            if (_forward != null)
            {
                return(_forward.GetContext());
            }
            if (_exception != null)
            {
                throw _exception;
            }

            return(_context);
        }
예제 #2
0
        internal HttpListenerContext GetContext()
        {
#if AUTHENTICATION
            if (_forward != null)
            {
                return(_forward.GetContext());
            }
#endif
            if (_exception != null)
            {
                throw _exception;
            }

            return(_context);
        }