20 lines
532 B
C#
20 lines
532 B
C#
using FastGithub.DomainResolve;
|
|
|
|
namespace FastGithub.HttpServer.TcpMiddlewares
|
|
{
|
|
/// <summary>
|
|
/// github的ssh代理处理者
|
|
/// </summary>
|
|
sealed class GithubSshReverseProxyHandler : TcpReverseProxyHandler
|
|
{
|
|
/// <summary>
|
|
/// github的ssh代理处理者
|
|
/// </summary>
|
|
/// <param name="domainResolver"></param>
|
|
public GithubSshReverseProxyHandler(IDomainResolver domainResolver)
|
|
: base(domainResolver, new("github.com", 22))
|
|
{
|
|
}
|
|
}
|
|
}
|