mirror of
https://github.com/xljiulang/KestrelApp.git
synced 2026-10-22 15:16:22 +08:00
27 lines
585 B
C#
27 lines
585 B
C#
using Microsoft.AspNetCore.Http;
|
|
using System.Net.Http.Headers;
|
|
|
|
namespace KestrelApp.Middleware.HttpProxy
|
|
{
|
|
/// <summary>
|
|
/// 代理Feature
|
|
/// </summary>
|
|
public interface IProxyFeature
|
|
{
|
|
/// <summary>
|
|
/// 代理主机
|
|
/// </summary>
|
|
HostString ProxyHost { get; }
|
|
|
|
/// <summary>
|
|
/// 代理协议
|
|
/// </summary>
|
|
ProxyProtocol ProxyProtocol { get; }
|
|
|
|
/// <summary>
|
|
/// Proxy-Authorization
|
|
/// </summary>
|
|
AuthenticationHeaderValue? ProxyAuthorization { get; }
|
|
}
|
|
}
|