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)
212=> _connectionListener.UnbindAsync(cancellationToken);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (13)
KestrelServerTests.cs (13)
560.Setup(transport => transport.UnbindAsync(It.IsAny<CancellationToken>())) 590mockTransport.Verify(transport => transport.UnbindAsync(It.IsAny<CancellationToken>()), Times.Once); 617.Setup(transport => transport.UnbindAsync(It.IsAny<CancellationToken>())) 650mockTransport.Verify(transport => transport.UnbindAsync(It.IsAny<CancellationToken>()), Times.Once); 676.Setup(transport => transport.UnbindAsync(It.IsAny<CancellationToken>())) 709mockTransport.Verify(transport => transport.UnbindAsync(It.IsAny<CancellationToken>()), Times.Once); 835mockTransport.Verify(t => t.UnbindAsync(It.IsAny<CancellationToken>()), Times.Never); 858mockTransport.Verify(t => t.UnbindAsync(It.IsAny<CancellationToken>()), Times.Once); 862mockTransport.Verify(t => t.UnbindAsync(It.IsAny<CancellationToken>()), Times.Never); 890mockTransport.Verify(t => t.UnbindAsync(It.IsAny<CancellationToken>()), Times.Once); 894mockTransport.Verify(t => t.UnbindAsync(It.IsAny<CancellationToken>()), Times.Once); 899mockTransport.Verify(t => t.UnbindAsync(It.IsAny<CancellationToken>()), Times.Never); 907mockTransport.Verify(t => t.UnbindAsync(It.IsAny<CancellationToken>()), Times.Once);