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)
126Http3Api = new Http3InMemory(_serviceContext, _serviceContext.FakeTimeProvider, _mockTimeoutHandler.Object, LoggerFactory);
Http3\Http3TimeoutTests.cs (26)
21var limits = _serviceContext.ServerOptions.Limits; 37var limits = _serviceContext.ServerOptions.Limits; 61var limits = _serviceContext.ServerOptions.Limits; 90var limits = _serviceContext.ServerOptions.Limits; 129var timeProvider = _serviceContext.FakeTimeProvider; 131var limits = _serviceContext.ServerOptions.Limits; 164var timestamp = _serviceContext.FakeTimeProvider.GetTimestamp(); 165var limits = _serviceContext.ServerOptions.Limits; 197Assert.Equal(_serviceContext.TimeProvider.GetTimestamp(timestamp, limits.RequestHeadersTimeout), serverRequestStream.StreamTimeoutTimestamp); 217var timeProvider = _serviceContext.FakeTimeProvider; 219var limits = _serviceContext.ServerOptions.Limits; 244var timeProvider = _serviceContext.FakeTimeProvider; 247var limits = _serviceContext.ServerOptions.Limits; 283var limits = _serviceContext.ServerOptions.Limits; 307var timeProvider = _serviceContext.FakeTimeProvider; 308var limits = _serviceContext.ServerOptions.Limits; 338var limits = _serviceContext.ServerOptions.Limits; 380var limits = _serviceContext.ServerOptions.Limits; 447var fakeTimeProvider = _serviceContext.FakeTimeProvider; 448var limits = _serviceContext.ServerOptions.Limits; 489var fakeTimeProvider = _serviceContext.FakeTimeProvider; 490var limits = _serviceContext.ServerOptions.Limits; 532var limits = _serviceContext.ServerOptions.Limits; 578var limits = _serviceContext.ServerOptions.Limits; 633var limits = _serviceContext.ServerOptions.Limits; 689var limits = _serviceContext.ServerOptions.Limits;
Http3\WebTransport\WebTransportHandshakeTests.cs (2)
22_serviceContext.ServerOptions.EnableWebTransportAndH3Datagrams = true; 113_serviceContext.ServerOptions.EnableWebTransportAndH3Datagrams = true;