Skip to content

THTTPHeader.GetFieldByName

Gets a header field value by field name

Declaration

Source position: httpdefs.pp line 402

public 
function THTTPHeader.GetFieldByName(const AName: string) : string;

Description

GetFieldByName retrieves a header field value using the field name as a string. Returns an empty string if the field is not found.