2 writes to RequestBody
Microsoft.Extensions.Http.Diagnostics (2)
Logging\Internal\HttpRequestReader.cs (1)
111logRecord.RequestBody = await _httpRequestBodyReader.ReadAsync(request, cancellationToken)
Logging\Internal\LogRecord.cs (1)
91RequestBody = null;
3 references to RequestBody
Microsoft.Extensions.Http.Diagnostics (3)
Logging\Internal\Log.cs (3)
98record.PathParametersCount + (record.RequestBody is null ? 0 : 1) + (record.ResponseBody is null ? 0 : 1); 126if (record.RequestBody is not null) 128loggerMessageState.TagArray[index++] = new(HttpClientLoggingTagNames.RequestBody, record.RequestBody);