From f558f7f8d605938e116aa2c41242efee5a2e9769 Mon Sep 17 00:00:00 2001 From: sta Date: Fri, 28 Feb 2025 16:46:39 +0900 Subject: [PATCH] [Modify] Add it To have access to the underlying TCP socket. --- websocket-sharp/Net/HttpConnection.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/websocket-sharp/Net/HttpConnection.cs b/websocket-sharp/Net/HttpConnection.cs index 92c2ead5..e51efb11 100644 --- a/websocket-sharp/Net/HttpConnection.cs +++ b/websocket-sharp/Net/HttpConnection.cs @@ -178,6 +178,12 @@ namespace WebSocketSharp.Net } } + public Socket Socket { + get { + return _socket; + } + } + public Stream Stream { get { return _stream;