Protocole HTTP/2

HTTP/2 multiplexing, server push, and Compression d'en-têtes HPACK for high-performance web communication.

CAPACITÉS

  • Binary framing with stream multiplexing over a single TCP connection
  • Compression d'en-têtes HPACK reduces overhead on repeated requests
  • Server push delivers resources before the client requests them
  • Stream prioritization for optimal resource loading
  • Full TLS support with ALPN negotiation

Exemple Delphi

uses
  sgcHTTP2_Client;

var
  HTTP2: TsgcHTTP2Client;
begin
  HTTP2 := TsgcHTTP2Client.Create(nil);
  HTTP2.TLSOptions.Version := tls1_2;
  // GET request over HTTP/2
  ShowMessage(HTTP2.Get('https://api.example.com/data'));
end;

Prêt à utiliser HTTP/2 ?

Télécharge l’essai gratuit et commence à construire en quelques minutes.