Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SendReset()

void System.Net.Http.Http2Connection.Http2Stream.SendReset ( )
inlineprivate

Definition at line 656 of file Http2Connection.cs.

657 {
658 if (System.Net.NetEventSource.Log.IsEnabled())
659 {
660 Trace($"Stream reset. Request={_requestCompletionState}, Response={_responseCompletionState}.", "SendReset");
661 }
662 if (_resetException == null)
663 {
665 }
666 }
void Trace(string message, [CallerMemberName] string memberName=null)
Task SendRstStreamAsync(int streamId, Http2ProtocolErrorCode errorCode)
static readonly System.Net.NetEventSource Log

References System.Net.Http.Http2Connection.Http2Stream._connection, System.Net.Http.Http2Connection.Http2Stream._resetException, System.Net.NetEventSource.Log, System.Net.Http.HttpConnectionBase.LogExceptions(), System.Net.Http.Http2Connection.SendRstStreamAsync(), System.Net.Http.Http2Connection.Http2Stream.StreamId, and System.Net.Http.Http2Connection.Http2Stream.Trace().

Referenced by System.Net.Http.Http2Connection.Http2Stream.Cancel(), and System.Net.Http.Http2Connection.Http2Stream.SendRequestBodyAsync().