Class AppBuilderDelegationExtensions
- Namespace
- Microsoft.AspNetCore.Builder
- Assembly
- Yarp.ReverseProxy.dll
Extensions for adding delegation middleware to the pipeline.
public static class AppBuilderDelegationExtensions
- Inheritance
-
AppBuilderDelegationExtensions
- Inherited Members
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.
public static IReverseProxyApplicationBuilder UseHttpSysDelegation(this IReverseProxyApplicationBuilder builder)
Parameters
builder
IReverseProxyApplicationBuilder
Returns
Remarks
This middleware only works with the ASP.NET Core Http.sys server implementation.