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)
562.Setup(transport => transport.UnbindAsync(It.IsAny<CancellationToken>())) 592mockTransport.Verify(transport => transport.UnbindAsync(It.IsAny<CancellationToken>()), Times.Once); 619.Setup(transport => transport.UnbindAsync(It.IsAny<CancellationToken>())) 652mockTransport.Verify(transport => transport.UnbindAsync(It.IsAny<CancellationToken>()), Times.Once); 678.Setup(transport => transport.UnbindAsync(It.IsAny<CancellationToken>())) 711mockTransport.Verify(transport => transport.UnbindAsync(It.IsAny<CancellationToken>()), Times.Once); 837mockTransport.Verify(t => t.UnbindAsync(It.IsAny<CancellationToken>()), Times.Never); 860mockTransport.Verify(t => t.UnbindAsync(It.IsAny<CancellationToken>()), Times.Once); 864mockTransport.Verify(t => t.UnbindAsync(It.IsAny<CancellationToken>()), Times.Never); 892mockTransport.Verify(t => t.UnbindAsync(It.IsAny<CancellationToken>()), Times.Once); 896mockTransport.Verify(t => t.UnbindAsync(It.IsAny<CancellationToken>()), Times.Once); 901mockTransport.Verify(t => t.UnbindAsync(It.IsAny<CancellationToken>()), Times.Never); 909mockTransport.Verify(t => t.UnbindAsync(It.IsAny<CancellationToken>()), Times.Once);