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

◆ RemoveStream()

void System.Net.Http.Http2Connection.RemoveStream ( Http2Stream http2Stream)
inlineprivate

Definition at line 3168 of file Http2Connection.cs.

3169 {
3170 if (System.Net.NetEventSource.Log.IsEnabled())
3171 {
3172 Trace(http2Stream.StreamId, "", "RemoveStream");
3173 }
3175 {
3176 if (!_httpStreams.Remove(http2Stream.StreamId))
3177 {
3178 return;
3179 }
3180 }
3181 ReleaseStream();
3182 }
bool ICollection< KeyValuePair< TKey, TValue > >. Remove(KeyValuePair< TKey, TValue > keyValuePair)
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._httpStreams, System.Net.NetEventSource.Log, System.Net.Http.Http2Connection.ReleaseStream(), System.Collections.Generic.Dictionary< TKey, TValue >.Remove(), System.Net.Http.Http2Connection.SyncObject, and System.Net.Http.Http2Connection.Trace().

Referenced by System.Net.Http.Http2Connection.Http2Stream.Complete().