Table of Contents

IReadOnlyHttpHeaders.Get Method

Returns the value of the named header, or an empty string if it does not exist.

Syntax

Unit: Sparkle.Http.Headers

function IReadOnlyHttpHeaders.Get(const HeaderName: string): string; virtual; abstract;

Parameters

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

Returns

The header value, or an empty string when the header is absent.

See also