TFPCustomHTTPClient.AddHeader procedure
Adds an HTTP header to a headers collection
Declaration
class procedure AddHeader(HTTPHeaders: TStrings; const AHeader: string;
const AValue: string)
procedure AddHeader(const AHeader: string; const AValue: string)Arguments
HTTPHeaders | The headers collection to add the header to |
AHeader | The header name |
AValue | The header value |
Description
Static utility method to add an HTTP header with the specified name and value to a headers collection. If a header with the same name already exists, its value is updated.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
