26 references to MultiplexedConnectionDelegate
Microsoft.AspNetCore.Connections.Abstractions (11)
IMultiplexedConnectionBuilder.cs (3)
23
IMultiplexedConnectionBuilder Use(Func<
MultiplexedConnectionDelegate
,
MultiplexedConnectionDelegate
> middleware);
29
MultiplexedConnectionDelegate
Build();
MultiplexedConnectionBuilder.cs (8)
16
private readonly IList<Func<
MultiplexedConnectionDelegate
,
MultiplexedConnectionDelegate
>> _components = new List<Func<
MultiplexedConnectionDelegate
,
MultiplexedConnectionDelegate
>>();
31
public IMultiplexedConnectionBuilder Use(Func<
MultiplexedConnectionDelegate
,
MultiplexedConnectionDelegate
> middleware)
38
public
MultiplexedConnectionDelegate
Build()
40
MultiplexedConnectionDelegate
app = features =>
Microsoft.AspNetCore.Server.Kestrel.Core (15)
Internal\Infrastructure\TransportManager.cs (2)
64
public async Task<EndPoint> BindAsync(EndPoint endPoint,
MultiplexedConnectionDelegate
multiplexedConnectionDelegate, ListenOptions listenOptions, CancellationToken cancellationToken)
68
throw new InvalidOperationException($"Cannot bind with {nameof(
MultiplexedConnectionDelegate
)} no {nameof(IMultiplexedConnectionListenerFactory)} is registered.");
Internal\KestrelServerImpl.cs (3)
213
var
multiplexedConnectionDelegate = ((IMultiplexedConnectionBuilder)options).Build();
438
private static
MultiplexedConnectionDelegate
EnforceConnectionLimit(
MultiplexedConnectionDelegate
innerDelegate, long? connectionLimit, KestrelTrace trace, KestrelMetrics metrics)
ListenOptions.cs (8)
22
private readonly List<Func<
MultiplexedConnectionDelegate
,
MultiplexedConnectionDelegate
>> _multiplexedMiddleware = new List<Func<
MultiplexedConnectionDelegate
,
MultiplexedConnectionDelegate
>>();
180
IMultiplexedConnectionBuilder IMultiplexedConnectionBuilder.Use(Func<
MultiplexedConnectionDelegate
,
MultiplexedConnectionDelegate
> middleware)
206
MultiplexedConnectionDelegate
IMultiplexedConnectionBuilder.Build()
208
MultiplexedConnectionDelegate
app = context =>
Middleware\LoggingMultiplexedConnectionMiddleware.cs (2)
14
private readonly
MultiplexedConnectionDelegate
_multiplexedNext;
17
public LoggingMultiplexedConnectionMiddleware(
MultiplexedConnectionDelegate
multiplexedNext, ILogger logger)