TsgcHTTP2ClientProperties › HTTP2Options

HTTP2Options Property

Client-side tuning options for HTTP/2, including how fragmented DATA frames are delivered to the application.

Syntax

property HTTP2Options: TsgcWSHTTP2Client_Options read FHTTP2Options write SetHTTP2Options;

Default Value

FragmentedData=h2fdOnlyBuffer

Remarks

The FragmentedData sub-property controls how the client dispatches DATA frames that arrive in multiple fragments:

Example


oHTTP2 := TsgcHTTP2Client.Create(nil);
oHTTP2.Host := 'http2.akamai.com';
oHTTP2.Port := 443;
oHTTP2.TLS := True;
oHTTP2.HTTP2Options.FragmentedData := h2fdAll;

Back to Properties