34 references to QuicAbortDirection
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (4)
Internal\QuicStreamContext.cs (2)
509stream.Abort(QuicAbortDirection.Read, resolvedErrorCode); 513stream.Abort(QuicAbortDirection.Write, resolvedErrorCode);
Internal\QuicStreamContext.FeatureCollection.cs (2)
71_stream.Abort(QuicAbortDirection.Read, errorCode); 93_stream.Abort(QuicAbortDirection.Write, errorCode);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (6)
QuicConnectionContextTests.cs (2)
423clientStream.Abort(QuicAbortDirection.Write, (long)Http3ErrorCode.InternalError); 472clientStream.Abort(QuicAbortDirection.Write, (long)Http3ErrorCode.InternalError);
QuicStreamContextTests.cs (4)
145clientStream.Abort(QuicAbortDirection.Read, (long)Http3ErrorCode.RequestCancelled); 146clientStream.Abort(QuicAbortDirection.Write, (long)Http3ErrorCode.RequestCancelled); 272clientStream.Abort(QuicAbortDirection.Write, (long)Http3ErrorCode.InternalError); 350clientStream.Abort(QuicAbortDirection.Write, (long)Http3ErrorCode.InternalError);
System.Net.Http (9)
System\Net\Http\SocketsHttpHandler\Http3Connection.cs (1)
668stream.Abort(QuicAbortDirection.Read, (long)Http3ErrorCode.StreamCreationError);
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (8)
324_stream.Abort(QuicAbortDirection.Write, (long)Http3ErrorCode.RequestCancelled); 345_stream.Abort(QuicAbortDirection.Write, (long)Http3ErrorCode.InternalError); 350_stream.Abort(QuicAbortDirection.Write, (long)Http3ErrorCode.InternalError); 907_stream.Abort(QuicAbortDirection.Read, (long)Http3ErrorCode.ExcessiveLoad); 1321_stream.Abort(QuicAbortDirection.Read, (long)Http3ErrorCode.RequestCancelled); 1326_stream.Abort(QuicAbortDirection.Read, (long)Http3ErrorCode.InternalError); 1384_stream.Abort(QuicAbortDirection.Write, (long)Http3ErrorCode.RequestCancelled); 1389_stream.Abort(QuicAbortDirection.Read, (long)Http3ErrorCode.RequestCancelled);
System.Net.Quic (15)
System\Net\Quic\QuicAbortDirection.cs (1)
7/// Specifies direction of the <see cref="QuicStream"/> which is to be <see cref="QuicStream.Abort(QuicAbortDirection, long)">aborted</see>.
System\Net\Quic\QuicStream.cs (14)
78stream.Abort(QuicAbortDirection.Read, stream._defaultErrorCode); 101stream.Abort(QuicAbortDirection.Write, stream._defaultErrorCode); 143/// or when <see cref="Abort"/> for <see cref="QuicAbortDirection.Read"/> is called, 144/// or when the peer called <see cref="Abort"/> for <see cref="QuicAbortDirection.Write"/>. 152/// or when <see cref="Abort"/> for <see cref="QuicAbortDirection.Write"/> is called, 153/// or when the peer called <see cref="Abort"/> for <see cref="QuicAbortDirection.Read"/>. 444/// Aborts either <see cref="QuicAbortDirection.Read">reading</see>, <see cref="QuicAbortDirection.Write">writing</see> or <see cref="QuicAbortDirection.Both">both</see> sides of the stream. 452public void Abort(QuicAbortDirection abortDirection, long errorCode) 461if (abortDirection.HasFlag(QuicAbortDirection.Read) && !_receiveTcs.IsCompleted) 465if (abortDirection.HasFlag(QuicAbortDirection.Write) && !_sendTcs.IsCompleted) 488if (abortDirection.HasFlag(QuicAbortDirection.Read)) 492if (abortDirection.HasFlag(QuicAbortDirection.Write))