Class ReverseProxyIEndpointRouteBuilderExtensions
Extension methods for
used to add Reverse Proxy to the ASP .NET Core request pipeline.
Inheritance
ReverseProxyIEndpointRouteBuilderExtensions
Assembly: Yarp.ReverseProxy.dll
Syntax
public static class ReverseProxyIEndpointRouteBuilderExtensions : object
Methods
|
Improve this Doc
View Source
MapReverseProxy(IEndpointRouteBuilder)
Adds Reverse Proxy routes to the route table using the default processing pipeline.
Declaration
public static ReverseProxyConventionBuilder MapReverseProxy(this IEndpointRouteBuilder endpoints)
Parameters
Type |
Name |
Description |
IEndpointRouteBuilder |
endpoints |
|
Returns
|
Improve this Doc
View Source
MapReverseProxy(IEndpointRouteBuilder, Action<IReverseProxyApplicationBuilder>)
Adds Reverse Proxy routes to the route table with the customized processing pipeline. The pipeline includes
by default the initialization step and the final proxy step, but not LoadBalancingMiddleware or other intermediate components.
Declaration
public static ReverseProxyConventionBuilder MapReverseProxy(this IEndpointRouteBuilder endpoints, Action<IReverseProxyApplicationBuilder> configureApp)
Parameters
Returns