ForwardedHeadersMiddleware 类

定义

用于将代理标头转发到当前请求的中间件。

public ref class ForwardedHeadersMiddleware
public class ForwardedHeadersMiddleware
type ForwardedHeadersMiddleware = class
Public Class ForwardedHeadersMiddleware
继承
ForwardedHeadersMiddleware

构造函数

ForwardedHeadersMiddleware(RequestDelegate, ILoggerFactory, IOptions<ForwardedHeadersOptions>)

创建新的 ForwardedHeadersMiddleware

方法

ApplyForwarders(HttpContext)

将代理标头转发到给定 HttpContext的 。

Invoke(HttpContext)

执行中间件。

适用于