Class ReverseProxyIEndpointRouteBuilderExtensions
Extension methods for
Inheritance
System.Object
ReverseProxyIEndpointRouteBuilderExtensions
Namespace: Microsoft.AspNetCore.Builder
Assembly: Yarp.ReverseProxy.dll
Syntax
public static class ReverseProxyIEndpointRouteBuilderExtensions : object
Methods
| Improve this Doc View SourceMapReverseProxy(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
Type | Description |
---|---|
ReverseProxyConventionBuilder |
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
Type | Name | Description |
---|---|---|
IEndpointRouteBuilder | endpoints | |
Action<IReverseProxyApplicationBuilder> | configureApp |
Returns
Type | Description |
---|---|
ReverseProxyConventionBuilder |