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

◆ AddStream()

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

Definition at line 2851 of file Http2Connection.cs.

2852 {
2854 {
2855 if (_nextStream == int.MaxValue)
2856 {
2857 Shutdown();
2858 }
2859 if (_abortException != null)
2860 {
2862 }
2863 if (_shutdown)
2864 {
2866 }
2868 {
2870 }
2872 _nextStream += 2;
2874 }
2875 }
void Add(TKey key, TValue value)
static void ThrowRetry(string message, Exception innerException=null)
readonly Dictionary< int, Http2Stream > _httpStreams
static Exception GetRequestAbortedException(Exception innerException=null)
static string net_http_server_shutdown
Definition SR.cs:172
static string net_http_request_aborted
Definition SR.cs:120
Definition SR.cs:7

References System.Net.Http.Http2Connection._abortException, System.Net.Http.Http2Connection._httpStreams, System.Net.Http.Http2Connection._initialServerStreamWindowSize, System.Net.Http.Http2Connection._maxConcurrentStreams, System.Net.Http.Http2Connection._nextStream, System.Net.Http.Http2Connection._shutdown, System.Net.Http.Http2Connection._streamsInUse, System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.Net.Http.Http2Connection.GetRequestAbortedException(), System.Collections.Generic.Dictionary< TKey, TValue >.Initialize(), System.SR.net_http_request_aborted, System.SR.net_http_server_shutdown, System.Net.Http.Http2Connection.Shutdown(), System.Net.Http.Http2Connection.SyncObject, and System.Net.Http.Http2Connection.ThrowRetry().