Dela via


ForwardedHeadersMiddleware Class

Definition

A middleware for forwarding proxied headers onto the current request.

public ref class ForwardedHeadersMiddleware
public class ForwardedHeadersMiddleware
type ForwardedHeadersMiddleware = class
Public Class ForwardedHeadersMiddleware
Inheritance
ForwardedHeadersMiddleware

Constructors

ForwardedHeadersMiddleware(RequestDelegate, ILoggerFactory, IOptions<ForwardedHeadersOptions>)

Create a new ForwardedHeadersMiddleware.

Methods

ApplyForwarders(HttpContext)

Forward the proxied headers to the given HttpContext.

Invoke(HttpContext)

Executes the middleware.

Applies to