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