IReverseProxyApplicationBuilder Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An IApplicationBuilder for building the MapReverseProxy
pipeline.
public interface IReverseProxyApplicationBuilder : Microsoft.AspNetCore.Builder.IApplicationBuilder
type IReverseProxyApplicationBuilder = interface
interface IApplicationBuilder
Public Interface IReverseProxyApplicationBuilder
Implements IApplicationBuilder
- Derived
- Implements
Properties
ApplicationServices |
Gets or sets the IServiceProvider that provides access to the application's service container. (Inherited from IApplicationBuilder) |
Properties |
Gets a key/value collection that can be used to share data between middleware. (Inherited from IApplicationBuilder) |
ServerFeatures |
Gets the set of HTTP features the application's server provides. (Inherited from IApplicationBuilder) |
Methods
Build() |
Builds the delegate used by this application to process HTTP requests. (Inherited from IApplicationBuilder) |
New() |
Creates a new IApplicationBuilder that shares the Properties of this IApplicationBuilder. (Inherited from IApplicationBuilder) |
Use(Func<RequestDelegate,RequestDelegate>) |
Adds a middleware delegate to the application's request pipeline. (Inherited from IApplicationBuilder) |
Extension Methods
UseHttpSysDelegation(IReverseProxyApplicationBuilder) |
Adds middleware to check if the selected destination should use Http.sys delegation. If so, the request is delegated to the destination queue instead of being proxied over HTTP. This should be placed after load balancing and passive health checks. |
UsePassiveHealthChecks(IReverseProxyApplicationBuilder) |
Passively checks destinations health by watching for successes and failures in client request proxying. |
UseLoadBalancing(IReverseProxyApplicationBuilder) |
Load balances across the available endpoints. |
UseSessionAffinity(IReverseProxyApplicationBuilder) |
Checks if a request has an established affinity relationship and if the associated destination is available. This should be placed before load balancing and other destination selection components. Requests without an affinity relationship will be processed normally and have the affinity relationship established by a later component. |
UseWebSocketsTelemetry(IApplicationBuilder) |
Adds a Yarp.ReverseProxy.WebSocketsTelemetry.WebSocketsTelemetryMiddleware to the request pipeline. Must be added before WebSocketMiddleware. |