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