WebSocketsTelemetryExtensions.UseWebSocketsTelemetry Method
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.
Adds a Yarp.ReverseProxy.WebSocketsTelemetry.WebSocketsTelemetryMiddleware to the request pipeline. Must be added before WebSocketMiddleware.
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseWebSocketsTelemetry (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseWebSocketsTelemetry : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseWebSocketsTelemetry (app As IApplicationBuilder) As IApplicationBuilder