1 implementation of LogRequestStartAsync
Microsoft.Extensions.Http.Diagnostics (1)
Logging\Internal\HttpClientLogger.cs (1)
69
public async ValueTask<object?>
LogRequestStartAsync
(HttpRequestMessage request, CancellationToken cancellationToken = default)
10 references to LogRequestStartAsync
Microsoft.Extensions.Http (10)
DependencyInjection\HttpClientBuilderExtensions.Logging.cs (4)
25
/// <see cref="IHttpClientAsyncLogger.
LogRequestStartAsync
"/> would be executed before all
32
/// <see cref="IHttpClientAsyncLogger.
LogRequestStartAsync
"/> would be executed after all
87
/// <see cref="IHttpClientAsyncLogger.
LogRequestStartAsync
"/> would be executed before all
94
/// <see cref="IHttpClientAsyncLogger.
LogRequestStartAsync
"/> would be executed after all
Logging\HttpClientLoggerHandler.cs (1)
33
? await _httpClientAsyncLogger.
LogRequestStartAsync
(request, cancellationToken).ConfigureAwait(false)
Logging\IHttpClientAsyncLogger.cs (5)
16
/// Asyncronous methods (such as <see cref="
LogRequestStartAsync
"/>) would be called from async code paths (such as
45
/// <param name="context">The context object that was previously returned by <see cref="
LogRequestStartAsync
"/>.</param>
48
/// <param name="elapsed">Time elapsed since calling <see cref="
LogRequestStartAsync
"/>.</param>
56
/// <param name="context">The context object that was previously returned by <see cref="
LogRequestStartAsync
"/>.</param>
60
/// <param name="elapsed">Time elapsed since calling <see cref="
LogRequestStartAsync
"/>.</param>