12 references to IConnectionListenerFactory
Microsoft.AspNetCore.Connections.Abstractions (1)
IConnectionListenerFactorySelector.cs (1)
12
/// This interface should be implemented by <see cref="
IConnectionListenerFactory
"/> and <see cref="IMultiplexedConnectionListenerFactory"/>
Microsoft.AspNetCore.Server.Kestrel.Core (11)
Internal\Infrastructure\TransportManager.cs (5)
16
private readonly List<
IConnectionListenerFactory
> _transportFactories;
22
List<
IConnectionListenerFactory
> transportFactories,
39
throw new InvalidOperationException($"Cannot bind with {nameof(ConnectionDelegate)} no {nameof(
IConnectionListenerFactory
)} is registered.");
42
foreach (
var
transportFactory in _transportFactories)
61
throw new InvalidOperationException($"No registered {nameof(
IConnectionListenerFactory
)} supports endpoint {endPoint.GetType().Name}: {endPoint}");
Internal\KestrelServerImpl.cs (4)
24
private readonly List<
IConnectionListenerFactory
> _transportFactories;
38
IEnumerable<
IConnectionListenerFactory
> transportFactories,
52
IEnumerable<
IConnectionListenerFactory
> transportFactories,
194
throw new InvalidOperationException($"Cannot start HTTP/1.x or HTTP/2 server if no {nameof(
IConnectionListenerFactory
)} is registered.");
KestrelServer.cs (2)
29
/// <param name="transportFactory">The <see cref="
IConnectionListenerFactory
"/>.</param>
31
public KestrelServer(IOptions<KestrelServerOptions> options,
IConnectionListenerFactory
transportFactory, ILoggerFactory loggerFactory)