FastGithub/FastGithub.PacketIntercept/Tcp/HttpsInterceptor.cs
xingyuan55 4d9d97f871 start
2022-11-16 08:01:03 +08:00

23 lines
571 B
C#

using FastGithub.Configuration;
using Microsoft.Extensions.Logging;
using System.Runtime.Versioning;
namespace FastGithub.PacketIntercept.Tcp
{
/// <summary>
/// https拦截器
/// </summary>
[SupportedOSPlatform("windows")]
sealed class HttpsInterceptor : TcpInterceptor
{
/// <summary>
/// https拦截器
/// </summary>
/// <param name="logger"></param>
public HttpsInterceptor(ILogger<HttpsInterceptor> logger)
: base(443, GlobalListener.HttpsPort, logger)
{
}
}
}