IMultiplexedConnectionBuilder.Use 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 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
Public Function Use (middleware As Func(Of MultiplexedConnectionDelegate, MultiplexedConnectionDelegate)) As IMultiplexedConnectionBuilder
Parameters
The middleware delegate.
Returns
The IMultiplexedConnectionBuilder.