Unit 'httpprotocol' Package
[Overview][Constants][Types][Procedures and functions][Index] [#fcl]

HeaderType

Returns the header type for a given header string.

Declaration

Source position: httpprotocol.pp line 156

function HeaderType(

  AHeader: string

):THeader;

Arguments

AHeader

  

The HTTP header name string to parse.

Function result

The header type, or hhUnknown if not recognized.

Description

Converts an HTTP header string to its corresponding THeader enumeration value. Returns hhUnknown if the header is not recognized.

See also

HeaderName

  

Returns the string name of an HTTP header.

THeader

  

Enumeration of standard HTTP 1.1 headers.


Documentation generated on: Dec 15 2025