Class AppBuilderDelegationExtensions
Extensions for adding delegation middleware to the pipeline.
Inheritance
System.Object
AppBuilderDelegationExtensions
Namespace: Microsoft.AspNetCore.Builder
Assembly: Yarp.ReverseProxy.dll
Syntax
public static class AppBuilderDelegationExtensions : object
Methods
| Improve this Doc View SourceUseHttpSysDelegation(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.
Declaration
public static IReverseProxyApplicationBuilder UseHttpSysDelegation(this IReverseProxyApplicationBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
IReverseProxyApplicationBuilder | builder |
Returns
Type | Description |
---|---|
IReverseProxyApplicationBuilder |
Remarks
This middleware only works with the ASP.NET Core Http.sys server implementation.