弹幕域名校验放宽

This commit is contained in:
小白猿
2023-03-09 00:33:03 +08:00
parent c387094ebe
commit 89a66d5389
7 changed files with 149 additions and 70 deletions
+6
View File
@@ -1,6 +1,7 @@
using System;
using Fiddler;
using System.Reflection;
using System.Collections.Generic;
namespace BarrageGrab.Proxy
{
@@ -8,6 +9,11 @@ namespace BarrageGrab.Proxy
{
event EventHandler<WsMessageEventArgs> OnWebSocketData;
/// <summary>
/// 域名过滤器
/// </summary>
Func<string, bool> HostNameFilter { get; set; }
/// <summary>
/// 开始监听
/// </summary>