1 write to _serviceContext
InMemory.FunctionalTests (1)
Http3\Http3TestBase.cs (1)
121
_serviceContext
= new TestServiceContext(LoggerFactory)
44 references to _serviceContext
InMemory.FunctionalTests (44)
Http3\Http3StreamTests.cs (14)
295
_serviceContext
.ServerOptions.AllowAlternateSchemes = true;
320
_serviceContext
.ServerOptions.AllowAlternateSchemes = true;
889
_serviceContext
.ServerOptions.ResponseHeaderEncodingSelector = _ => Encoding.UTF8;
890
_serviceContext
.ServerOptions.RequestHeaderEncodingSelector = _ => Encoding.UTF8; // Used for decoding response.
927
_serviceContext
.ServerOptions.ResponseHeaderEncodingSelector = _ => encoding;
1038
_serviceContext
.ServerOptions.ResponseHeaderEncodingSelector = _ => Encoding.UTF8;
1039
_serviceContext
.ServerOptions.RequestHeaderEncodingSelector = _ => Encoding.UTF8; // Used for decoding response.
1078
_serviceContext
.ServerOptions.ResponseHeaderEncodingSelector = _ => encoding;
2497
_serviceContext
.ServerOptions.Limits.MaxRequestBodySize = 15;
2531
_serviceContext
.ServerOptions.Limits.MaxRequestBodySize = 10;
2571
_serviceContext
.ServerOptions.Limits.MaxRequestBodySize = 15;
2604
_serviceContext
.ServerOptions.Limits.MaxRequestBodySize = 10;
2648
_serviceContext
.ServerOptions.Limits.MaxRequestBodySize = 20;
2700
_serviceContext
.ServerOptions.Limits.MaxRequestBodySize = 10;
Http3\Http3TestBase.cs (2)
126
Http3Api = new Http3InMemory(
_serviceContext
,
_serviceContext
.FakeTimeProvider, _mockTimeoutHandler.Object, LoggerFactory);
Http3\Http3TimeoutTests.cs (26)
21
var limits =
_serviceContext
.ServerOptions.Limits;
37
var limits =
_serviceContext
.ServerOptions.Limits;
61
var limits =
_serviceContext
.ServerOptions.Limits;
90
var limits =
_serviceContext
.ServerOptions.Limits;
129
var timeProvider =
_serviceContext
.FakeTimeProvider;
131
var limits =
_serviceContext
.ServerOptions.Limits;
164
var timestamp =
_serviceContext
.FakeTimeProvider.GetTimestamp();
165
var limits =
_serviceContext
.ServerOptions.Limits;
197
Assert.Equal(
_serviceContext
.TimeProvider.GetTimestamp(timestamp, limits.RequestHeadersTimeout), serverRequestStream.StreamTimeoutTimestamp);
217
var timeProvider =
_serviceContext
.FakeTimeProvider;
219
var limits =
_serviceContext
.ServerOptions.Limits;
244
var timeProvider =
_serviceContext
.FakeTimeProvider;
247
var limits =
_serviceContext
.ServerOptions.Limits;
283
var limits =
_serviceContext
.ServerOptions.Limits;
307
var timeProvider =
_serviceContext
.FakeTimeProvider;
308
var limits =
_serviceContext
.ServerOptions.Limits;
338
var limits =
_serviceContext
.ServerOptions.Limits;
380
var limits =
_serviceContext
.ServerOptions.Limits;
447
var fakeTimeProvider =
_serviceContext
.FakeTimeProvider;
448
var limits =
_serviceContext
.ServerOptions.Limits;
489
var fakeTimeProvider =
_serviceContext
.FakeTimeProvider;
490
var limits =
_serviceContext
.ServerOptions.Limits;
532
var limits =
_serviceContext
.ServerOptions.Limits;
578
var limits =
_serviceContext
.ServerOptions.Limits;
633
var limits =
_serviceContext
.ServerOptions.Limits;
689
var limits =
_serviceContext
.ServerOptions.Limits;
Http3\WebTransport\WebTransportHandshakeTests.cs (2)
22
_serviceContext
.ServerOptions.EnableWebTransportAndH3Datagrams = true;
113
_serviceContext
.ServerOptions.EnableWebTransportAndH3Datagrams = true;