29 lines
663 B
C#
29 lines
663 B
C#
using System;
|
|
using System.Reflection;
|
|
using System.Collections.Generic;
|
|
using BarrageGrab.Proxy.ProxyEventArgs;
|
|
|
|
namespace BarrageGrab.Proxy
|
|
{
|
|
public interface ISystemProxy : IDisposable
|
|
{
|
|
event EventHandler<WsMessageEventArgs> OnWebSocketData;
|
|
|
|
event EventHandler<HttpResponseEventArgs> OnFetchResponse;
|
|
|
|
/// <summary>
|
|
/// 关闭系统代理
|
|
/// </summary>
|
|
void CloseSystemProxy();
|
|
|
|
/// <summary>
|
|
/// 注册为系统代理
|
|
/// </summary>
|
|
void RegisterSystemProxy();
|
|
|
|
/// <summary>
|
|
/// 开始监听
|
|
/// </summary>
|
|
void Start();
|
|
}
|
|
} |