支持过滤房间ID,用户信息添加头像地址,用户主页ID,粉丝团信息数据。
This commit is contained in:
@@ -8,6 +8,7 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.Win32;
|
||||
using System.Diagnostics;
|
||||
using BarrageGrab.Proxy.ProxyEventArgs;
|
||||
|
||||
namespace BarrageGrab.Proxy
|
||||
{
|
||||
@@ -23,6 +24,11 @@ namespace BarrageGrab.Proxy
|
||||
/// </summary>
|
||||
public event EventHandler<WsMessageEventArgs> OnWebSocketData;
|
||||
|
||||
/// <summary>
|
||||
/// 接收到http响应事件
|
||||
/// </summary>
|
||||
public event EventHandler<HttpResponseEventArgs> OnResponse;
|
||||
|
||||
/// <summary>
|
||||
/// 代理端口
|
||||
/// </summary>
|
||||
@@ -57,6 +63,15 @@ namespace BarrageGrab.Proxy
|
||||
OnWebSocketData?.Invoke(this, args);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 触发http响应事件
|
||||
/// </summary>
|
||||
/// <param name="args"></param>
|
||||
protected void FireOnResponse(HttpResponseEventArgs args)
|
||||
{
|
||||
OnResponse?.Invoke(this, args);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取进程名称
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user