Sign in Join
FPDoc Onlineexperiment

THTTPHeader.GetFieldByName function

Member of THTTPHeaderpublicIn unit HTTPDefs

Gets a header field value by field name

Declaration

pascal
function 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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.