Sign in Join
FPDoc Onlineexperiment

THTTPHeader.GetVariableHeaderType function

Member of THTTPHeaderpublicIn unit HTTPDefs

Gets the HTTP variable type for a header field name

Declaration

pascal
class function GetVariableHeaderType(const aName: string)
: THTTPVariableType

Arguments

aName

Header field name to get the variable type for

Function result

HTTP variable type corresponding to the header field name

Description

GetVariableHeaderType returns the HTTP variable type corresponding to a given header field name. This provides reverse mapping from header field strings to enumerated types.

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