ForwardedHeadersExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extension methods for enabling ForwardedHeadersMiddleware.
public ref class ForwardedHeadersExtensions abstract sealed
public static class ForwardedHeadersExtensions
type ForwardedHeadersExtensions = class
Public Module ForwardedHeadersExtensions
- Inheritance
-
ForwardedHeadersExtensions
Methods
UseForwardedHeaders(IApplicationBuilder) |
Applies forwarded headers to their matching fields on the current request. By convention, HTTP proxies forward information from the client in well-known HTTP headers. The ForwardedHeadersMiddleware reads these headers and fills in the associated fields on HttpContext. |
UseForwardedHeaders(IApplicationBuilder, ForwardedHeadersOptions) |
Applies forwarded headers to their matching fields on the current request. By convention, HTTP proxies forward information from the client in well-known HTTP headers. The ForwardedHeadersMiddleware reads these headers and fills in the associated fields on HttpContext. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for