|
Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
| struct | FrameHeader |
| class | Http2Stream |
| struct | Http2StreamWindowManager |
| class | NopHeadersHandler |
| struct | RttEstimator |
| class | WriteQueueEntry |
Public Member Functions | |
| Http2Connection (HttpConnectionPool pool, Stream stream) | |
| async ValueTask | SetupAsync () |
| ValueTask | WaitForShutdownAsync () |
| bool | TryReserveStream () |
| void | ReleaseStream () |
| ValueTask< bool > | WaitForAvailableStreamsAsync () |
| override long | GetIdleTicks (long nowTicks) |
| override void | Dispose () |
| async Task< HttpResponseMessage > | SendAsync (HttpRequestMessage request, bool async, CancellationToken cancellationToken) |
| override string | ToString () |
| override void | Trace (string message, [CallerMemberName] string memberName=null) |
| string | GetResponseHeaderValueWithCaching (HeaderDescriptor descriptor, ReadOnlySpan< byte > value, Encoding valueEncoding) |
| long | GetLifetimeTicks (long nowTicks) |
| virtual bool | CheckUsabilityOnScavenge () |
Protected Member Functions | |
| void | TraceConnection (Stream stream) |
Package Types | |
| enum | KeepAliveState { None , PingSent } |
Package Functions | |
| Task | FlushAsync (CancellationToken cancellationToken) |
| void | HeartBeat () |
| void | Trace (int streamId, string message, [CallerMemberName] string memberName=null) |
| void | LogExceptions (Task task) |
Static Package Functions | |
| static bool | IsDigit (byte c) |
| static int | ParseStatusCode (ReadOnlySpan< byte > value) |
| static void | IgnoreExceptions (ValueTask< int > task) |
Properties | |
| object | SyncObject [get] |
Private Types | |
| enum | FrameType : byte { Data = 0 , Headers = 1 , Priority = 2 , RstStream = 3 , Settings = 4 , PushPromise = 5 , Ping = 6 , GoAway = 7 , WindowUpdate = 8 , Continuation = 9 , AltSvc = 10 , Last = 10 } |
| enum | FrameFlags : byte { None = 0 , EndStream = 1 , Ack = 1 , EndHeaders = 4 , Padded = 8 , Priority = 0x20 , ValidBits = 0x2D } |
| enum | SettingId : ushort { HeaderTableSize = 1 , EnablePush , MaxConcurrentStreams , InitialWindowSize , MaxFrameSize , MaxHeaderListSize } |
Static Private Member Functions | |
| static ReadOnlyMemory< byte > ReadOnlyMemory< byte > rest | SplitBuffer (ReadOnlyMemory< byte > buffer, int maxSize) |
| static void | ThrowRetry (string message, Exception innerException=null) |
| static Exception | GetRequestAbortedException (Exception innerException=null) |
| static void | ThrowRequestAborted (Exception innerException=null) |
| static void | ThrowProtocolError () |
| static void | ThrowProtocolError (Http2ProtocolErrorCode errorCode) |
Static Private Attributes | |
| static string[] | t_headerValues |
| static readonly byte[] | s_http2ConnectionPreface = Encoding.ASCII.GetBytes("PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n") |
| static readonly UnboundedChannelOptions | s_channelOptions |
| static ReadOnlyMemory< byte > | first |
Definition at line 20 of file Http2Connection.cs.