TFPCustomHTTPClient.GetHeader function
Gets the value of a header from a headers collection
Declaration
class function GetHeader(HTTPHeaders: TStrings; const AHeader: string)
: string
function GetHeader(const AHeader: string): stringArguments
HTTPHeaders | The headers collection to search in |
AHeader | The header name to retrieve |
Function result
The header value, or empty string if not found
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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
