TsgcHTTP2ClientProperties › Settings

Settings 属性

在连接时向服务器声明的 HTTP/2 SETTINGS 帧参数(RFC 7540 第 6.5 节)。

语法

property Settings: TsgcHTTP2Settings read FSettings write SetSettings;

默认值

HTTP/2 协议默认值(参见备注)

备注

控制连接序言期间在初始 HTTP/2 SETTINGS 帧中发送的值。子属性:

示例


oHTTP2 := TsgcHTTP2Client.Create(nil);
oHTTP2.Host := 'http2.akamai.com';
oHTTP2.Port := 443;
oHTTP2.TLS := True;
oHTTP2.Settings.EnablePush := False;
oHTTP2.Settings.InitialWindowSize := 1048576;
oHTTP2.Settings.MaxConcurrentStreams := 100;

返回属性