Table of Contents

THttpHeaders.Exists Method

Indicates whether a header with the given name exists.

Syntax

Unit: Sparkle.Http.Headers

function THttpHeaders.Exists(const HeaderName: string): Boolean;

Parameters

<-> Parameter Type Description
const HeaderName string The header name to look up (case-insensitive).

Returns

True if the header exists; otherwise False.

See also