Unit 'HTTPDefs' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

THTTPHeader.GetFieldByName

Gets a header field value by field name

Declaration

Source position: httpdefs.pp line 390

public function THTTPHeader.GetFieldByName(

  const AName: string

):string;

Arguments

AName

  

Name of the header field to retrieve

Function result

Value of the header field or empty string if not found

Description

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


Documentation generated on: Jan 16 2026