FastGithub/FastGithub.HttpServer/SshReverseProxyHandler.cs
2021-11-23 16:22:30 +08:00

20 lines
510 B
C#

using FastGithub.DomainResolve;
namespace FastGithub.HttpServer
{
/// <summary>
/// github的ssh代理处理者
/// </summary>
sealed class SshReverseProxyHandler : TcpReverseProxyHandler
{
/// <summary>
/// github的ssh代理处理者
/// </summary>
/// <param name="domainResolver"></param>
public SshReverseProxyHandler(IDomainResolver domainResolver)
: base(domainResolver, new("ssh.github.com", 443))
{
}
}
}