API:Web.HTTPApp.TContentParser.GetContentFields
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.
Web.HTTPApp.TContentParser.GetContentFields inherits from Web.HTTPApp.TAbstractContentParser.GetContentFields. All content below this line refers to Web.HTTPApp.TAbstractContentParser.GetContentFields.
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 TAbstractContentParser, GetContentFields is abstract or, in C++ terminology, pure virtual, meaning that this class does not supply an implementation. Descendant classes override this method to extract name/value pairs from the current request and add them to the returned string list.
Note: The content parser owns the string list it returns. The caller should not free the string list.