Commit 1d038a36 authored by Honfika's avatar Honfika

inconsistent naming fix

parent 77d9258f
...@@ -64,7 +64,7 @@ namespace Titanium.Web.Proxy.Examples.Basic ...@@ -64,7 +64,7 @@ namespace Titanium.Web.Proxy.Examples.Basic
// Fired when a CONNECT request is received // Fired when a CONNECT request is received
explicitEndPoint.BeforeTunnelConnectRequest += onBeforeTunnelConnectRequest; explicitEndPoint.BeforeTunnelConnectRequest += onBeforeTunnelConnectRequest;
explicitEndPoint.BeforeTunnelConnectResponse += OnBeforeTunnelConnectResponse; explicitEndPoint.BeforeTunnelConnectResponse += onBeforeTunnelConnectResponse;
// An explicit endpoint is where the client knows about the existence of a proxy // An explicit endpoint is where the client knows about the existence of a proxy
// So client sends request in a proxy friendly manner // So client sends request in a proxy friendly manner
...@@ -103,7 +103,7 @@ namespace Titanium.Web.Proxy.Examples.Basic ...@@ -103,7 +103,7 @@ namespace Titanium.Web.Proxy.Examples.Basic
public void Stop() public void Stop()
{ {
explicitEndPoint.BeforeTunnelConnectRequest -= onBeforeTunnelConnectRequest; explicitEndPoint.BeforeTunnelConnectRequest -= onBeforeTunnelConnectRequest;
explicitEndPoint.BeforeTunnelConnectResponse -= OnBeforeTunnelConnectResponse; explicitEndPoint.BeforeTunnelConnectResponse -= onBeforeTunnelConnectResponse;
proxyServer.BeforeRequest -= onRequest; proxyServer.BeforeRequest -= onRequest;
proxyServer.BeforeResponse -= onResponse; proxyServer.BeforeResponse -= onResponse;
...@@ -130,7 +130,7 @@ namespace Titanium.Web.Proxy.Examples.Basic ...@@ -130,7 +130,7 @@ namespace Titanium.Web.Proxy.Examples.Basic
} }
} }
private Task OnBeforeTunnelConnectResponse(object sender, TunnelConnectSessionEventArgs e) private Task onBeforeTunnelConnectResponse(object sender, TunnelConnectSessionEventArgs e)
{ {
return Task.FromResult(false); return Task.FromResult(false);
} }
......
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