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

◆ InitialFillAsync()

async ValueTask System.Net.Http.HttpConnection.InitialFillAsync ( bool async)
inlineprivate

Definition at line 2279 of file HttpConnection.cs.

2280 {
2281 _readOffset = 0;
2284 if (System.Net.NetEventSource.Log.IsEnabled())
2285 {
2286 Trace($"Received {_readLength} bytes.", "InitialFillAsync");
2287 }
2288 }
int Read(byte[] buffer, int offset, int count)
Task< int > ReadAsync(byte[] buffer, int offset, int count)
Definition Stream.cs:762
override void Trace(string message, [CallerMemberName] string memberName=null)
static readonly System.Net.NetEventSource Log
new ConfiguredTaskAwaitable< TResult > ConfigureAwait(bool continueOnCapturedContext)
Definition Task.cs:226

References System.Net.Http.HttpConnection._readBuffer, System.Net.Http.HttpConnection._readLength, System.Net.Http.HttpConnection._readOffset, System.Net.Http.HttpConnection._stream, System.Threading.Tasks.Task< TResult >.ConfigureAwait(), System.Net.NetEventSource.Log, System.IO.Stream.Read(), System.IO.Stream.ReadAsync(), and System.Net.Http.HttpConnection.Trace().

Referenced by System.Net.Http.HttpConnection.SendAsyncCore().