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