29 writes to BodyReadTimeout
Microsoft.Extensions.Http.Diagnostics.Tests (29)
Logging\HttpClientLoggerTest.cs (7)
59BodyReadTimeout = TimeSpan.FromMinutes(5) 209BodyReadTimeout = TimeSpan.FromMinutes(5), 301BodyReadTimeout = TimeSpan.FromMinutes(5), 408BodyReadTimeout = TimeSpan.FromMinutes(5), 504BodyReadTimeout = TimeSpan.FromMinutes(5), 618BodyReadTimeout = TimeSpan.FromMinutes(5), 888BodyReadTimeout = TimeSpan.FromMinutes(5),
Logging\HttpClientLoggingExtensionsTest.cs (8)
86.AddExtendedHttpClientLogging(options => options.BodyReadTimeout = TimeSpan.FromSeconds(1)) 89.AddExtendedHttpClientLogging(options => options.BodyReadTimeout = TimeSpan.FromSeconds(2)) 109.AddExtendedHttpClientLogging(options => options.BodyReadTimeout = TimeSpan.FromSeconds(1)) 112.AddExtendedHttpClientLogging(options => options.BodyReadTimeout = TimeSpan.FromSeconds(2)) 167options.BodyReadTimeout = bodyReadTimeout; 209options.BodyReadTimeout = TimeSpan.Zero; 277options.BodyReadTimeout = bodyReadTimeout; 319options.BodyReadTimeout = TimeSpan.Zero;
Logging\HttpRequestBodyReaderTest.cs (3)
129BodyReadTimeout = TimeSpan.FromMinutes(100) 153BodyReadTimeout = TimeSpan.FromMinutes(100) 255var options = new LoggingOptions { BodyReadTimeout = timeout };
Logging\HttpRequestReaderTest.cs (8)
65BodyReadTimeout = TimeSpan.FromSeconds(100000), 129BodyReadTimeout = TimeSpan.FromSeconds(10), 191BodyReadTimeout = TimeSpan.FromSeconds(10), 265BodyReadTimeout = TimeSpan.FromSeconds(10), 337BodyReadTimeout = TimeSpan.FromSeconds(10), 396BodyReadTimeout = TimeSpan.FromSeconds(10), 467BodyReadTimeout = TimeSpan.FromSeconds(10), 534BodyReadTimeout = TimeSpan.FromSeconds(10),
Logging\HttpResponseBodyReaderTest.cs (1)
177var options = new LoggingOptions { BodyReadTimeout = timeout };
Logging\LoggingOptionsTest.cs (1)
45_sut.BodyReadTimeout = testTimeout;
Logging\LoggingOptionsValidatorTest.cs (1)
34var options = new LoggingOptions { BodyReadTimeout = TimeSpan.Zero };
11 references to BodyReadTimeout
Microsoft.Extensions.Http.Diagnostics (2)
Logging\Internal\HttpRequestBodyReader.cs (1)
44: requestOptions.BodyReadTimeout;
Logging\Internal\HttpResponseBodyReader.cs (1)
41: responseOptions.BodyReadTimeout;
Microsoft.Extensions.Http.Diagnostics.Tests (9)
Logging\HttpClientLoggingExtensionsTest.cs (8)
98optionsFirst.BodyReadTimeout.Should().Be(TimeSpan.FromSeconds(1)); 99optionsSecond.BodyReadTimeout.Should().Be(TimeSpan.FromSeconds(2)); 121optionsFirst.BodyReadTimeout.Should().Be(TimeSpan.FromSeconds(1)); 122optionsSecond.BodyReadTimeout.Should().Be(TimeSpan.FromSeconds(2)); 185options.BodyReadTimeout.Should().Be(bodyReadTimeout); 238options.BodyReadTimeout.Should().Be(timeoutValue); 295options.BodyReadTimeout.Should().Be(bodyReadTimeout); 388options.BodyReadTimeout.Should().Be(timeoutValue);
Logging\Internal\TestConfiguration.cs (1)
22$"{nameof(LoggingOptions)}:{nameof(LoggingOptions.BodyReadTimeout)}",