Web.HTTPApp.TWebRequest.GetFieldByName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetFieldByName(const Name: string): string; virtual; abstract;

C++

virtual System::UnicodeString __fastcall GetFieldByName(const System::UnicodeString Name) = 0 ;

Properties

Type Visibility Source Unit Parent
function public
Web.HTTPApp.pas
Web.HTTPApp.hpp
Web.HTTPApp TWebRequest

Description

Provides the abstract (pure virtual) prototype for a method that returns the value of the HTTP header variable specified by the Name parameter.

Descendants of TWebRequest implement GetFieldByName to provide access to arbitrary header fields in the HTTP request message. Use GetFieldByName to read the value of an HTTP header variable that is not surfaced as one of the properties of TWebRequest. For information on possible HTTP request header variables, see the current Internet standards documents.

See Also