ReverseProxyConventionBuilder.Add(Action<EndpointBuilder>) Method

Definition

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

C#
public void Add (Action<Microsoft.AspNetCore.Builder.EndpointBuilder> convention);

Parameters

convention
Action<EndpointBuilder>

The convention to add to the builder.

Implements

Applies to

Product Versions
Yarp 1.0.1, 1.1.2, 2.0.1, 2.1.0, 2.2.0