Class ReverseProxyConventionBuilder
Inheritance
System.Object
ReverseProxyConventionBuilder
Namespace: Microsoft.AspNetCore.Builder
Assembly: Yarp.ReverseProxy.dll
Syntax
public class ReverseProxyConventionBuilder : IEndpointConventionBuilder
Methods
| Improve this Doc View SourceAdd(Action<EndpointBuilder>)
Adds the specified convention to the builder. Conventions are used to customize
Declaration
public void Add(Action<EndpointBuilder> convention)
Parameters
Type | Name | Description |
---|---|---|
Action<EndpointBuilder> | convention | The convention to add to the builder. |
ConfigureEndpoints(Action<IEndpointConventionBuilder, RouteConfig, ClusterConfig>)
Configures the endpoints for all routes
Declaration
public ReverseProxyConventionBuilder ConfigureEndpoints(Action<IEndpointConventionBuilder, RouteConfig, ClusterConfig> convention)
Parameters
Type | Name | Description |
---|---|---|
Action<IEndpointConventionBuilder, RouteConfig, ClusterConfig> | convention | The convention to add to the builder. |
Returns
Type | Description |
---|---|
ReverseProxyConventionBuilder |
ConfigureEndpoints(Action<IEndpointConventionBuilder, RouteConfig>)
Configures the endpoints for all routes
Declaration
public ReverseProxyConventionBuilder ConfigureEndpoints(Action<IEndpointConventionBuilder, RouteConfig> convention)
Parameters
Type | Name | Description |
---|---|---|
Action<IEndpointConventionBuilder, RouteConfig> | convention | The convention to add to the builder. |
Returns
Type | Description |
---|---|
ReverseProxyConventionBuilder |
ConfigureEndpoints(Action<IEndpointConventionBuilder>)
Configures the endpoints for all routes
Declaration
public ReverseProxyConventionBuilder ConfigureEndpoints(Action<IEndpointConventionBuilder> convention)
Parameters
Type | Name | Description |
---|---|---|
Action<IEndpointConventionBuilder> | convention | The convention to add to the builder. |
Returns
Type | Description |
---|---|
ReverseProxyConventionBuilder |