@@ -59,7 +59,7 @@ private protected SessionEventArgsBase(ProxyServer server, ProxyEndPoint endPoin
59
59
60
60
ClientStream = clientStream ;
61
61
HttpClient = new HttpWebClient ( connectRequest , request , new Lazy < int > ( ( ) => clientStream . Connection . GetProcessId ( endPoint ) ) ) ;
62
- LocalEndPoint = endPoint ;
62
+ ProxyEndPoint = endPoint ;
63
63
EnableWinAuth = server . EnableWinAuth && isWindowsAuthenticationSupported ;
64
64
}
65
65
@@ -103,6 +103,9 @@ public bool EnableWinAuth
103
103
/// </summary>
104
104
public IPEndPoint ClientRemoteEndPoint => ( IPEndPoint ) ClientConnection . RemoteEndPoint ;
105
105
106
+ [ Obsolete ( "Use ClientRemoteEndPoint instead." ) ]
107
+ public IPEndPoint ClientEndPoint => ClientRemoteEndPoint ;
108
+
106
109
/// <summary>
107
110
/// The web client used to communicate with server for this session.
108
111
/// </summary>
@@ -119,12 +122,15 @@ public bool EnableWinAuth
119
122
/// <summary>
120
123
/// Local endpoint via which we make the request.
121
124
/// </summary>
122
- public ProxyEndPoint LocalEndPoint { get ; }
125
+ public ProxyEndPoint ProxyEndPoint { get ; }
126
+
127
+ [ Obsolete ( "Use ProxyEndPoint instead." ) ]
128
+ public ProxyEndPoint LocalEndPoint => ProxyEndPoint ;
123
129
124
130
/// <summary>
125
131
/// Is this a transparent endpoint?
126
132
/// </summary>
127
- public bool IsTransparent => LocalEndPoint is TransparentProxyEndPoint ;
133
+ public bool IsTransparent => ProxyEndPoint is TransparentProxyEndPoint ;
128
134
129
135
/// <summary>
130
136
/// The last exception that happened.
0 commit comments