using FastGithub.Configuration;
namespace FastGithub.Http
{
///
/// 表示请求上下文
///
sealed class RequestContext
{
///
/// 获取或设置是否为https请求
///
public bool IsHttps { get; }
///
/// 获取或设置Sni值
///
public TlsSniPattern TlsSniValue { get; }
///
/// 请求上下文
///
///
///
public RequestContext(bool isHttps, TlsSniPattern tlsSniValue)
{
IsHttps = isHttps;
TlsSniValue = tlsSniValue;
}
}
}