public async Task ExplicitEndpoint_BeforeTunnelConnectRequest(object sender, Titanium.Web.Proxy.EventArguments.TunnelConnectSessionEventArgs e) { await Task.Run(() => { addSession(e); }); }
public async Task ExplicitEndpoint_BeforeTunnelConnectResponse(object sender, Titanium.Web.Proxy.EventArguments.TunnelConnectSessionEventArgs e) { await Task.Run(() => { if (sessionDictionary.TryGetValue(e.HttpClient, out var item)) { item.Update(e); } }); }