51 references to Http3SettingType
InMemory.FunctionalTests (26)
Http3\Http3ConnectionTests.cs (5)
20using Http3SettingType = Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http3.Http3SettingType; 237new Http3PeerSetting((Http3SettingType) settingIdentifier, 0) // reserved value 404Assert.Equal((long)Http3SettingType.MaxFieldSectionSize, kvp.Key); 411new Http3PeerSetting(Http3SettingType.MaxFieldSectionSize, 100) 416Assert.Equal(Http3SettingType.MaxFieldSectionSize, maxFieldSetting.Key);
Http3\Http3StreamTests.cs (12)
2813new Http3PeerSetting(Core.Internal.Http3.Http3SettingType.MaxFieldSectionSize, 100) 2818Assert.Equal(Core.Internal.Http3.Http3SettingType.MaxFieldSectionSize, maxFieldSetting.Key); 3042new Http3PeerSetting(Internal.Http3.Http3SettingType.MaxFieldSectionSize, 100), 3043new Http3PeerSetting(Internal.Http3.Http3SettingType.EnableWebTransport, 1), 3044new Http3PeerSetting(Internal.Http3.Http3SettingType.H3Datagram, 1) 3050var parameterLength = VariableLengthIntegerHelper.WriteInteger(outboundcontrolStream.Pair.Application.Output.GetSpan(), (long)Internal.Http3.Http3SettingType.MaxFieldSectionSize); 3230new Http3PeerSetting(Internal.Http3.Http3SettingType.MaxFieldSectionSize, 100), 3231new Http3PeerSetting(Internal.Http3.Http3SettingType.EnableWebTransport, 1), 3232new Http3PeerSetting(Internal.Http3.Http3SettingType.H3Datagram, 1) 3248Assert.Equal(Internal.Http3.Http3SettingType.MaxFieldSectionSize, fieldSetting.Key); 3252Assert.Equal(Internal.Http3.Http3SettingType.EnableWebTransport, fieldSetting.Key); 3256Assert.Equal(Internal.Http3.Http3SettingType.H3Datagram, fieldSetting.Key);
Http3\WebTransport\WebTransportHandshakeTests.cs (3)
13using Http3SettingType = Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http3.Http3SettingType; 64Assert.Equal(1, response1[(long)Http3SettingType.EnableWebTransport]); 130Assert.Equal(1, response1[(long)Http3SettingType.EnableWebTransport]);
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (6)
26using Http3SettingType = Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http3.Http3SettingType; 45_serverReceivedSettings = Channel.CreateUnbounded<KeyValuePair<Http3SettingType, long>>(); 82internal readonly Channel<KeyValuePair<Http3SettingType, long>> _serverReceivedSettings; 91internal ChannelReader<KeyValuePair<Http3SettingType, long>> ServerReceivedSettingsReader => _serverReceivedSettings.Reader; 292public void OnInboundControlStreamSetting(Http3SettingType type, long value) 297new KeyValuePair<Http3SettingType, long>(type, value));
Microsoft.AspNetCore.Server.Kestrel.Core (19)
Internal\Http3\Http3Connection.cs (6)
867void IHttp3StreamLifetimeHandler.OnInboundControlStreamSetting(Http3SettingType type, long value) 871case Http3SettingType.QPackMaxTableCapacity: 873case Http3SettingType.MaxFieldSectionSize: 876case Http3SettingType.QPackBlockedStreams: 878case Http3SettingType.EnableWebTransport: 881case Http3SettingType.H3Datagram:
Internal\Http3\Http3ControlStream.cs (6)
417case (long)Http3SettingType.QPackMaxTableCapacity: 418case (long)Http3SettingType.MaxFieldSectionSize: 419case (long)Http3SettingType.QPackBlockedStreams: 420case (long)Http3SettingType.EnableWebTransport: 421case (long)Http3SettingType.H3Datagram: 422_context.StreamLifetimeHandler.OnInboundControlStreamSetting((Http3SettingType)id, value);
Internal\Http3\Http3PeerSetting.cs (2)
8public Http3PeerSetting(Http3SettingType parameter, uint value) 14public Http3SettingType Parameter { get; }
Internal\Http3\Http3PeerSettings.cs (4)
28list.Add(new Http3PeerSetting(Http3SettingType.QPackMaxTableCapacity, HeaderTableSize)); 33list.Add(new Http3PeerSetting(Http3SettingType.MaxFieldSectionSize, MaxRequestHeaderFieldSectionSize)); 38list.Add(new Http3PeerSetting(Http3SettingType.EnableWebTransport, EnableWebTransport)); 43list.Add(new Http3PeerSetting(Http3SettingType.H3Datagram, H3Datagram));
Internal\Http3\IHttp3StreamLifetimeHandler.cs (1)
17void OnInboundControlStreamSetting(Http3SettingType type, long value);
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (6)
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (6)
26using Http3SettingType = Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http3.Http3SettingType; 45_serverReceivedSettings = Channel.CreateUnbounded<KeyValuePair<Http3SettingType, long>>(); 82internal readonly Channel<KeyValuePair<Http3SettingType, long>> _serverReceivedSettings; 91internal ChannelReader<KeyValuePair<Http3SettingType, long>> ServerReceivedSettingsReader => _serverReceivedSettings.Reader; 292public void OnInboundControlStreamSetting(Http3SettingType type, long value) 297new KeyValuePair<Http3SettingType, long>(type, value));