httpGetHeader

Availability

This routine is available starting with SIL Engine™ 4.1.0.

Syntax

httpGetHeader(headerName)

Description

Retrieves the value of the specified header (if existing) from the latest HTTP response.

Parameters

Parameter name

Type

Required

Description

headerName

string

Yes

The name of the reponse header.

Return type

string

The value of the response header

Example

string hdrValue = httpGetHeader("Content-Type");

See also