4 references to CloseAsync
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
Internal\QuicConnectionContext.cs (2)
60_closeTask ??= _connection.CloseAsync(errorCode: _context.Options.DefaultCloseErrorCode).AsTask(); 88_closeTask = _connection.CloseAsync(errorCode: resolvedErrorCode).AsTask();
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (2)
QuicConnectionContextTests.cs (2)
135await clientConnection.CloseAsync(256); 298await quicConnection.CloseAsync((long)Http3ErrorCode.NoError).DefaultTimeout();