HTTP/2 Protocol
HTTP/2 multiplexing, server push, and HPACK header compression for high-performance web communication.
HTTP/2 multiplexing, server push, and HPACK header compression for high-performance web communication.
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;