TFPCustomHTTPClient.GetHeader¶
Gets the value of a header from a headers collection
Declaration¶
Source position: fphttpclient.pp line 275
public
class function GetHeader(HTTPHeaders: TStrings; const AHeader: string)
: string;
function GetHeader(const AHeader: string) : string;
Description¶
Static utility method to retrieve the value of a header with the specified name from a headers collection. Returns an empty string if the header is not found.