Web.HTTPApp.TContentParser.GetFiles

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetFiles: TAbstractWebRequestFiles; override;

C++

virtual TAbstractWebRequestFiles* __fastcall GetFiles();

Properties

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

Description

Returns a set of uploaded files that the parser extracts from the current Web request.

GetFiles returns a list of Web request file objects, each of which represents an uploaded file from the current Web request. Each Web request file object has properties to describe an uploaded file, including a stream object from which to read the content of the uploaded file.

In TContentParser, GetFiles always returns an empty list. That is, TContentParser does not implement support for uploaded files in HTTP requests.

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

See Also