4 implementations of UnbindAsync
InMemory.FunctionalTests (1)
TestTransport\InMemoryTransportFactory.cs (1)
50public ValueTask UnbindAsync(CancellationToken cancellationToken = default)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
InMemoryTransportBenchmark.cs (1)
161public ValueTask UnbindAsync(CancellationToken cancellationToken = default)
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
Internal\NamedPipeConnectionListener.cs (1)
161public ValueTask UnbindAsync(CancellationToken cancellationToken = default) => DisposeAsync();
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
SocketConnectionListener.cs (1)
95public ValueTask UnbindAsync(CancellationToken cancellationToken = default)
14 references to UnbindAsync
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Infrastructure\TransportManager.cs (1)
211=> _connectionListener.UnbindAsync(cancellationToken);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (13)
KestrelServerTests.cs (13)
561.Setup(transport => transport.UnbindAsync(It.IsAny<CancellationToken>())) 591mockTransport.Verify(transport => transport.UnbindAsync(It.IsAny<CancellationToken>()), Times.Once); 618.Setup(transport => transport.UnbindAsync(It.IsAny<CancellationToken>())) 651mockTransport.Verify(transport => transport.UnbindAsync(It.IsAny<CancellationToken>()), Times.Once); 677.Setup(transport => transport.UnbindAsync(It.IsAny<CancellationToken>())) 710mockTransport.Verify(transport => transport.UnbindAsync(It.IsAny<CancellationToken>()), Times.Once); 836mockTransport.Verify(t => t.UnbindAsync(It.IsAny<CancellationToken>()), Times.Never); 859mockTransport.Verify(t => t.UnbindAsync(It.IsAny<CancellationToken>()), Times.Once); 863mockTransport.Verify(t => t.UnbindAsync(It.IsAny<CancellationToken>()), Times.Never); 891mockTransport.Verify(t => t.UnbindAsync(It.IsAny<CancellationToken>()), Times.Once); 895mockTransport.Verify(t => t.UnbindAsync(It.IsAny<CancellationToken>()), Times.Once); 900mockTransport.Verify(t => t.UnbindAsync(It.IsAny<CancellationToken>()), Times.Never); 908mockTransport.Verify(t => t.UnbindAsync(It.IsAny<CancellationToken>()), Times.Once);