TsgcHTTP2Client | HTTP/2 Headers

TsgcHTTP2Client allows to customize Headers sent to server when client connects  

Example: if you need to add this HTTP Header "Client: sgcWebSockets"


procedure OnHTTP2BeforeRequest(Sender: TObject; const Connection: TsgcHTTP2ConnectionClient; 
  var Headers: TStringList);
begin
  Headers.Add('Client: sgcWebSockets');
end;

You can use Request.CustomHeaders to add your customized headers too.