Compartilhar via


IMultiplexedConnectionBuilder.Use Método

Definição

Adiciona um delegado de middleware ao pipeline de conexão do aplicativo.

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

Parâmetros

middleware
Func<MultiplexedConnectionDelegate,MultiplexedConnectionDelegate>

O delegado de middleware.

Retornos

O IMultiplexedConnectionBuilder.

Aplica-se a