Protocollo HTTP/2
Multiplexing HTTP/2, server push e compressione degli header HPACK per comunicazioni web ad alte prestazioni.
Multiplexing HTTP/2, server push e compressione degli header HPACK per comunicazioni web ad alte prestazioni.
uses
sgcHTTP2_Client;
var
HTTP2: TsgcHTTP2Client;
begin
HTTP2 := TsgcHTTP2Client.Create(nil);
HTTP2.TLSOptions.Version := tls1_2;
// Richiesta GET su HTTP/2
ShowMessage(HTTP2.Get('https://api.example.com/data'));
end;