From 40abc9b7f219478ac25b50799e24def922c40923 Mon Sep 17 00:00:00 2001 From: sta Date: Sun, 23 May 2021 22:16:52 +0900 Subject: [PATCH] [Modify] Add it --- websocket-sharp/Net/HttpListenerAsyncResult.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/websocket-sharp/Net/HttpListenerAsyncResult.cs b/websocket-sharp/Net/HttpListenerAsyncResult.cs index 373f65cf..16d4f97c 100644 --- a/websocket-sharp/Net/HttpListenerAsyncResult.cs +++ b/websocket-sharp/Net/HttpListenerAsyncResult.cs @@ -80,6 +80,16 @@ namespace WebSocketSharp.Net #region Internal Properties + internal HttpListenerContext Context + { + get { + if (_exception != null) + throw _exception; + + return _context; + } + } + internal bool EndCalled { get { return _endCalled;