8 instantiations of Http2PeerSetting
Microsoft.AspNetCore.Server.Kestrel.Core (8)
src\Shared\ServerInfrastructure\Http2\Http2FrameReader.cs (1)
246return new Http2PeerSetting(id, value);
src\Shared\ServerInfrastructure\Http2\Http2PeerSettings.cs (7)
107list.Add(new Http2PeerSetting(Http2SettingsParameter.SETTINGS_HEADER_TABLE_SIZE, HeaderTableSize)); 112list.Add(new Http2PeerSetting(Http2SettingsParameter.SETTINGS_ENABLE_PUSH, EnablePush ? 1u : 0)); 117list.Add(new Http2PeerSetting(Http2SettingsParameter.SETTINGS_MAX_CONCURRENT_STREAMS, MaxConcurrentStreams)); 122list.Add(new Http2PeerSetting(Http2SettingsParameter.SETTINGS_INITIAL_WINDOW_SIZE, InitialWindowSize)); 127list.Add(new Http2PeerSetting(Http2SettingsParameter.SETTINGS_MAX_FRAME_SIZE, MaxFrameSize)); 132list.Add(new Http2PeerSetting(Http2SettingsParameter.SETTINGS_MAX_HEADER_LIST_SIZE, MaxHeaderListSize)); 135list.Add(new Http2PeerSetting(Http2SettingsParameter.SETTINGS_ENABLE_CONNECT_PROTOCOL, 1u));
10 references to Http2PeerSetting
Microsoft.AspNetCore.Server.Kestrel.Core (10)
Internal\Http2\Http2FrameWriter.cs (3)
902public ValueTask<FlushResult> WriteSettingsAsync(List<Http2PeerSetting> settings) 924internal static void WriteSettings(List<Http2PeerSetting> settings, Span<byte> destination) 926foreach (var setting in settings)
src\Shared\ServerInfrastructure\Http2\Http2FrameReader.cs (3)
226public static IList<Http2PeerSetting> ReadSettings(in ReadOnlySequence<byte> payload) 232var settings = new Http2PeerSetting[settingsCount]; 241private static Http2PeerSetting ReadSetting(ReadOnlySpan<byte> payload)
src\Shared\ServerInfrastructure\Http2\Http2PeerSettings.cs (4)
42public void Update(IList<Http2PeerSetting> settings) 44foreach (var setting in settings) 99internal List<Http2PeerSetting> GetNonProtocolDefaults() 103var list = new List<Http2PeerSetting>(2);