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

THTTPHeader.GetHeader

Gets the value of a specific header field

Declaration

Source position: httpdefs.pp line 386

public function THTTPHeader.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.


Documentation generated on: Jan 16 2026