Sign in Join
FPDoc Onlineexperiment

THTTPHeader.GetHeader function

Member of THTTPHeaderpublicIn unit HTTPDefs

Gets the value of a specific header field

Declaration

pascal
function GetHeader(AHeader: THeader): string

Arguments

AHeader

Header field type to retrieve

Function result

Value of the header field or empty string if not set

Description

GetHeader retrieves the value of a specific HTTP header field. Returns an empty string if the header field is not set.

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