Skip to content

HeaderName

Returns the string name of an HTTP header.

Declaration

Source position: httpprotocol.pp line 155

function HeaderName(AHeader: THeader) : string;

Arguments

Name Description
AHeader The header type to convert to string.

Function result

The HTTP header name string.

Description

Converts a THeader enumeration value to its corresponding HTTP header string.

See also

Name Description
HeaderType Returns the header type for a given header string.
THeader Enumeration of standard HTTP 1.1 headers.