MultiplexedConnectionBuilder.Use Method

Definition

Adds a middleware delegate to the application's connection pipeline.

public Microsoft.AspNetCore.Connections.IMultiplexedConnectionBuilder Use (Func<Microsoft.AspNetCore.Connections.MultiplexedConnectionDelegate,Microsoft.AspNetCore.Connections.MultiplexedConnectionDelegate> middleware);
abstract member Use : Func<Microsoft.AspNetCore.Connections.MultiplexedConnectionDelegate, Microsoft.AspNetCore.Connections.MultiplexedConnectionDelegate> -> Microsoft.AspNetCore.Connections.IMultiplexedConnectionBuilder
override this.Use : Func<Microsoft.AspNetCore.Connections.MultiplexedConnectionDelegate, Microsoft.AspNetCore.Connections.MultiplexedConnectionDelegate> -> Microsoft.AspNetCore.Connections.IMultiplexedConnectionBuilder
Public Function Use (middleware As Func(Of MultiplexedConnectionDelegate, MultiplexedConnectionDelegate)) As IMultiplexedConnectionBuilder

Parameters

Returns

The IMultiplexedConnectionBuilder.

Implements

Applies to