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

◆ Abort()

void System.Net.Http.Http2Connection.Abort ( Exception abortException)
inlineprivate

Definition at line 3047 of file Http2Connection.cs.

3048 {
3049 if (System.Net.NetEventSource.Log.IsEnabled())
3050 {
3051 Trace($"{"abortException"}=={abortException}", "Abort");
3052 }
3055 {
3056 if (_abortException != null)
3057 {
3058 if (System.Net.NetEventSource.Log.IsEnabled())
3059 {
3060 Trace($"Abort called while already aborting. {"abortException"}={abortException}", "Abort");
3061 }
3062 return;
3063 }
3065 Shutdown();
3067 {
3068 int key = httpStream.Key;
3069 list.Add(httpStream.Value);
3070 }
3071 }
3072 foreach (Http2Stream item in list)
3073 {
3074 item.OnReset(_abortException);
3075 }
3076 }
void Add(TKey key, TValue value)
override void Trace(string message, [CallerMemberName] string memberName=null)
readonly Dictionary< int, Http2Stream > _httpStreams
static readonly System.Net.NetEventSource Log

References System.Net.Http.Http2Connection._abortException, System.Net.Http.Http2Connection._httpStreams, System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.item, System.key, System.list, System.Net.NetEventSource.Log, System.Net.Http.Http2Connection.Shutdown(), System.Net.Http.Http2Connection.SyncObject, and System.Net.Http.Http2Connection.Trace().