TsgcHTTP2ClientProperties › Settings

Settings Property

HTTP/2 SETTINGS frame parameters (RFC 7540 section 6.5) announced to the server at connection time.

Syntax

property Settings: TsgcHTTP2Settings read FSettings write SetSettings;

Default Value

HTTP/2 protocol defaults (see Remarks)

Remarks

Controls the values sent in the initial HTTP/2 SETTINGS frame during the connection preface. Sub-properties:

Example


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;

Back to Properties