From d377da31e78e7958f2c72bf1c5dc9762077c8c37 Mon Sep 17 00:00:00 2001 From: Jonas Gottschau Date: Mon, 2 Sep 2019 17:02:03 +0200 Subject: [PATCH] Enable access to HttpListenerContext Make HttpListenerContext a public property --- websocket-sharp/Server/HttpRequestEventArgs.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/websocket-sharp/Server/HttpRequestEventArgs.cs b/websocket-sharp/Server/HttpRequestEventArgs.cs index ee76cbab3..4efd9908d 100644 --- a/websocket-sharp/Server/HttpRequestEventArgs.cs +++ b/websocket-sharp/Server/HttpRequestEventArgs.cs @@ -75,6 +75,19 @@ internal HttpRequestEventArgs ( #region Public Properties + /// + /// Gets the http context. + /// + /// + /// A that provides the methods and + /// properties for the http context . + /// + public HttpListenerContext Context { + get { + return _context; + } + } + /// /// Gets the request data sent from a client. ///