2 implementations of IMultiplexedConnectionListener
InMemory.FunctionalTests (1)
TestTransport\MockMultiplexedConnectionListenerFactory.cs (1)
24private class MockMultiplexedConnectionListener : IMultiplexedConnectionListener
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
Internal\QuicConnectionListener.cs (1)
19internal sealed class QuicConnectionListener : IMultiplexedConnectionListener, IAsyncDisposable
14 references to IMultiplexedConnectionListener
InMemory.FunctionalTests (2)
TestTransport\MockMultiplexedConnectionListenerFactory.cs (2)
17public ValueTask<IMultiplexedConnectionListener> BindAsync(EndPoint endpoint, IFeatureCollection features = null, CancellationToken cancellationToken = default) 21return ValueTask.FromResult<IMultiplexedConnectionListener>(new MockMultiplexedConnectionListener(endpoint));
Microsoft.AspNetCore.Connections.Abstractions (3)
IMultiplexedConnectionListenerFactory.cs (3)
17/// Creates an <see cref="IMultiplexedConnectionListener"/> bound to the specified <see cref="EndPoint"/>. 22/// <returns>A <see cref="ValueTask{IMultiplexedConnectionListener}"/> that completes when the listener has been bound, yielding a <see cref="IMultiplexedConnectionListener" /> representing the new listener.</returns> 23ValueTask<IMultiplexedConnectionListener> BindAsync(EndPoint endpoint, IFeatureCollection? features = null, CancellationToken cancellationToken = default);
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Infrastructure\TransportManager.cs (3)
82var transport = await multiplexedTransportFactory.BindAsync(endPoint, features, cancellationToken).ConfigureAwait(false); 220private readonly IMultiplexedConnectionListener _multiplexedConnectionListener; 222public GenericMultiplexedConnectionListener(IMultiplexedConnectionListener multiplexedConnectionListener)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (4)
KestrelServerTests.cs (4)
1031public ValueTask<IMultiplexedConnectionListener> BindAsync(EndPoint endpoint, IFeatureCollection features = null, CancellationToken cancellationToken = default) 1043public ValueTask<IMultiplexedConnectionListener> BindAsync(EndPoint endpoint, IFeatureCollection features = null, CancellationToken cancellationToken = default) 1057var mock = new Mock<IMultiplexedConnectionListener>(); 1059return new ValueTask<IMultiplexedConnectionListener>(mock.Object);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
QuicTransportFactory.cs (1)
38public async ValueTask<IMultiplexedConnectionListener> BindAsync(EndPoint endpoint, IFeatureCollection? features = null, CancellationToken cancellationToken = default)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
QuicTestHelpers.cs (1)
100public static async ValueTask<MultiplexedConnectionContext> AcceptAndAddFeatureAsync(this IMultiplexedConnectionListener listener)