2 implementations of ReadResponseAsync
Microsoft.Extensions.Http.Diagnostics (1)
Logging\Internal\HttpRequestReader.cs (1)
100public async Task ReadResponseAsync(LogRecord logRecord, HttpResponseMessage response,
Microsoft.Extensions.Http.Diagnostics.Tests (1)
Logging\Internal\MockedRequestReader.cs (1)
22public Task ReadResponseAsync(LogRecord record,
4 references to ReadResponseAsync
Microsoft.Extensions.Http.Diagnostics (1)
Logging\Internal\HttpClientLogger.cs (1)
179await _httpRequestReader.ReadResponseAsync(logRecord, response, responseHeadersBuffer, cancellationToken).ConfigureAwait(false);
Microsoft.Extensions.Http.Diagnostics.Tests (3)
Logging\HttpClientLoggerTest.cs (2)
568m.ReadResponseAsync(// but this method is setup to throw an exception 1013.Setup(r => r.ReadResponseAsync(It.IsAny<LogRecord>(), It.IsAny<HttpResponseMessage>(), It.IsAny<List<KeyValuePair<string, string>>?>(), It.IsAny<CancellationToken>()))
Logging\Internal\MockedRequestReader.cs (1)
25CancellationToken cancellationToken) => Mock.Object.ReadResponseAsync(record, response, buffer, cancellationToken);