23 lines
		
	
	
		
			569 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			569 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, ReverseProxyPort.Https, logger)
 | 
						|
        {
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |