Table of Contents

Class ReverseProxyConventionBuilder

Namespace
Microsoft.AspNetCore.Builder
Assembly
Yarp.ReverseProxy.dll
public class ReverseProxyConventionBuilder : IEndpointConventionBuilder
Inheritance
ReverseProxyConventionBuilder
Implements
Inherited Members

Methods

Add(Action<EndpointBuilder>)

Adds the specified convention to the builder. Conventions are used to customize EndpointBuilder instances.

public void Add(Action<EndpointBuilder> convention)

Parameters

convention Action<EndpointBuilder>

The convention to add to the builder.

ConfigureEndpoints(Action<IEndpointConventionBuilder, RouteConfig, ClusterConfig?>)

Configures the endpoints for all routes

public ReverseProxyConventionBuilder ConfigureEndpoints(Action<IEndpointConventionBuilder, RouteConfig, ClusterConfig?> convention)

Parameters

convention Action<IEndpointConventionBuilder, RouteConfig, ClusterConfig>

The convention to add to the builder.

Returns

ReverseProxyConventionBuilder

ConfigureEndpoints(Action<IEndpointConventionBuilder, RouteConfig>)

Configures the endpoints for all routes

public ReverseProxyConventionBuilder ConfigureEndpoints(Action<IEndpointConventionBuilder, RouteConfig> convention)

Parameters

convention Action<IEndpointConventionBuilder, RouteConfig>

The convention to add to the builder.

Returns

ReverseProxyConventionBuilder

ConfigureEndpoints(Action<IEndpointConventionBuilder>)

Configures the endpoints for all routes

public ReverseProxyConventionBuilder ConfigureEndpoints(Action<IEndpointConventionBuilder> convention)

Parameters

convention Action<IEndpointConventionBuilder>

The convention to add to the builder.

Returns

ReverseProxyConventionBuilder