WebSocketSharp.Net.ListenerAsyncResult.GetContext C# (CSharp) Method

GetContext() private method

private GetContext ( ) : WebSocketSharp.Net.HttpListenerContext
return WebSocketSharp.Net.HttpListenerContext
        internal HttpListenerContext GetContext()
        {
            if (_exception != null)
            throw _exception;

              return _context;
        }

Usage Example

Example #1
0
        internal HttpListenerContext GetContext()
        {
            if (forward != null)
            {
                return(forward.GetContext());
            }
            if (exception != null)
            {
                throw exception;
            }

            return(context);
        }
All Usage Examples Of WebSocketSharp.Net.ListenerAsyncResult::GetContext