using System; using System.Reflection; using System.Collections.Generic; using BarrageGrab.Proxy.ProxyEventArgs; namespace BarrageGrab.Proxy { public interface ISystemProxy : IDisposable { event EventHandler OnWebSocketData; event EventHandler OnFetchResponse; event EventHandler OnProxyStatus; /// /// Http上游代理地址 /// string HttpUpstreamProxy { get; } /// /// Https 上游代理地址 /// string HttpsUpstreamProxy { get; } /// /// 设置上游代理地址(http+https) /// void SetUpstreamProxy(string addr); /// /// 关闭系统代理 /// void CloseSystemProxy(); /// /// 注册为系统代理 /// void RegisterSystemProxy(); /// /// 开始监听 /// void Start(); } }