TsgcHTTP2ClientProperties › Settings

Settings Property

Parâmetros do frame HTTP/2 SETTINGS (RFC 7540 seção 6.5) anunciados ao servidor no momento da conexão.

Sintaxe

property Settings: TsgcHTTP2Settings read FSettings write SetSettings;

Valor Padrão

Padrões do protocolo HTTP/2 (veja Observações)

Observações

Controla os valores enviados no frame HTTP/2 SETTINGS inicial durante o preface da conexão. Subpropriedades:

Exemplo


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;

Voltar para Propriedades