|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
| Http3Connection (HttpConnectionPool pool, HttpAuthority origin, HttpAuthority authority, QuicConnection connection) | |
| override void | Dispose () |
| async Task< HttpResponseMessage > | SendAsync (HttpRequestMessage request, bool async, CancellationToken cancellationToken) |
| void | RemoveStream (QuicStream stream) |
| override long | GetIdleTicks (long nowTicks) |
| 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 () |
Static Public Member Functions | |
| static byte[] | BuildSettingsFrame (HttpConnectionSettings settings) |
Protected Member Functions | |
| void | TraceConnection (Stream stream) |
Package Functions | |
| Exception | Abort (Exception abortException) |
| void | Trace (long 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 | |
| HttpAuthority | Authority [get] |
| HttpConnectionPool | Pool [get] |
| byte[] | AltUsedEncodedHeaderBytes [get] |
| Exception | AbortException [get] |
| object | SyncObj [get] |
| bool | ShuttingDown [get] |
Private Member Functions | |
| void | CheckForShutdown () |
| void | OnServerGoAway (long lastProcessedStreamId) |
| async Task | SendSettingsAsync () |
| async Task | AcceptStreamsAsync () |
| async Task | ProcessServerStreamAsync (QuicStream stream) |
| async Task | ProcessServerControlStreamAsync (QuicStream stream, System.Net.ArrayBuffer buffer) |
Private Attributes | |
| readonly HttpConnectionPool | _pool |
| readonly HttpAuthority | _origin |
| readonly HttpAuthority | _authority |
| readonly byte[] | _altUsedEncodedHeader |
| QuicConnection | _connection |
| Task | _connectionClosedTask |
| readonly Dictionary< QuicStream, Http3RequestStream > | _activeRequests = new Dictionary<QuicStream, Http3RequestStream>() |
| long | _lastProcessedStreamId = -1L |
| QuicStream | _clientControl |
| int | _maximumHeadersLength = int.MaxValue |
| int | _haveServerControlStream |
| int | _haveServerQpackDecodeStream |
| int | _haveServerQpackEncodeStream |
| Exception | _abortException |
| string | _lastDateHeaderValue |
| string | _lastServerHeaderValue |
| readonly long | _creationTickCount = Environment.TickCount64 |
Definition at line 17 of file Http3Connection.cs.