Commit 8faf2835 authored by Jehonathan Thomas's avatar Jehonathan Thomas Committed by GitHub

Merge pull request #330 from ProjectSpectero/develop

Expose the endpoint that the request came in via with SessionEventArgs
parents f2b88d39 b5beee65
......@@ -95,6 +95,8 @@ namespace Titanium.Web.Proxy.EventArguments
public event EventHandler<DataEventArgs> DataReceived;
public ProxyEndPoint LocalEndPoint;
/// <summary>
/// Constructor to initialize the proxy
/// </summary>
......@@ -107,6 +109,7 @@ namespace Titanium.Web.Proxy.EventArguments
ProxyClient = new ProxyClient();
WebSession = new HttpWebClient(bufferSize);
LocalEndPoint = endPoint;
WebSession.ProcessId = new Lazy<int>(() =>
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment