Web.HTTPApp.TCustomContentProducer.ContentFromStream

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ContentFromStream(Stream: TStream): string; virtual;

C++

virtual System::UnicodeString __fastcall ContentFromStream(System::Classes::TStream* Stream);

Properties

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

Description

Returns the content produced in response to input read from a stream.

Call ContentFromStream to retrieve the content produced by the content producer based on the information provided by the Stream parameter. TCustomContentProducer ignores the Stream parameter and returns the value created by the Content method.

Descendants of TCustomContentProducer override this method to interpret streamed input in their own way.

See Also