Web.HTTPApp.TContentParser.GetContentFields

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetContentFields: TStrings; override;

C++

virtual System::Classes::TStrings* __fastcall GetContentFields();

Properties

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

Description

Returns the named value strings that are included in the content of the current Web request.

GetContentFields returns a list of strings with the form "Name=Value" that represent any name/value pairs that the parser identifies in the content of the current Web request.

In TContentParser, GetContentFields simply calls the ExtractContentFields method of the current Web request. This method assumes that fields are strings with the form "Name=Value", separated by ampersands (&).

Note: The content parser owns the string list it returns. The caller should not free the string list.

See Also