Class AppBuilderLoadBalancingExtensions
Extensions for adding proxy middleware to the pipeline.
Inheritance
System.Object
AppBuilderLoadBalancingExtensions
Namespace: Microsoft.AspNetCore.Builder
Assembly: Yarp.ReverseProxy.dll
Syntax
public static class AppBuilderLoadBalancingExtensions : object
Methods
| Improve this Doc View SourceUseLoadBalancing(IReverseProxyApplicationBuilder)
Load balances across the available endpoints.
Declaration
public static IReverseProxyApplicationBuilder UseLoadBalancing(this IReverseProxyApplicationBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
IReverseProxyApplicationBuilder | builder |
Returns
Type | Description |
---|---|
IReverseProxyApplicationBuilder |