using System; using Fiddler; using System.Reflection; using System.Collections.Generic; namespace BarrageGrab.Proxy { internal interface ISystemProxy : IDisposable { event EventHandler OnWebSocketData; /// /// 域名过滤器 /// Func HostNameFilter { get; set; } /// /// 开始监听 /// void Start(); } public class WsMessageEventArgs { /// /// 消息体 /// public byte[] Payload { get; set; } /// /// 进程ID /// public int ProcessID { get; set; } /// /// 进程名 /// public string ProcessName { get; set; } /// /// 域名 /// public string HostName { get; set; } } }