34 references to QuicAbortDirection
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (4)
Internal\QuicStreamContext.cs (2)
509
stream.Abort(
QuicAbortDirection
.Read, resolvedErrorCode);
513
stream.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)
423
clientStream.Abort(
QuicAbortDirection
.Write, (long)Http3ErrorCode.InternalError);
472
clientStream.Abort(
QuicAbortDirection
.Write, (long)Http3ErrorCode.InternalError);
QuicStreamContextTests.cs (4)
145
clientStream.Abort(
QuicAbortDirection
.Read, (long)Http3ErrorCode.RequestCancelled);
146
clientStream.Abort(
QuicAbortDirection
.Write, (long)Http3ErrorCode.RequestCancelled);
272
clientStream.Abort(
QuicAbortDirection
.Write, (long)Http3ErrorCode.InternalError);
350
clientStream.Abort(
QuicAbortDirection
.Write, (long)Http3ErrorCode.InternalError);
System.Net.Http (9)
System\Net\Http\SocketsHttpHandler\Http3Connection.cs (1)
668
stream.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)
78
stream.Abort(
QuicAbortDirection
.Read, stream._defaultErrorCode);
101
stream.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.
452
public void Abort(
QuicAbortDirection
abortDirection, long errorCode)
461
if (abortDirection.HasFlag(
QuicAbortDirection
.Read) && !_receiveTcs.IsCompleted)
465
if (abortDirection.HasFlag(
QuicAbortDirection
.Write) && !_sendTcs.IsCompleted)
488
if (abortDirection.HasFlag(
QuicAbortDirection
.Read))
492
if (abortDirection.HasFlag(
QuicAbortDirection
.Write))