Web.HTTPProd.TBasePageProducer.ContentFromStream

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

Type Visibility Source Unit Parent
function public
Web.HTTPProd.pas
Web.HTTPProd.hpp
Web.HTTPProd TBasePageProducer

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.

When the ScriptEngine property is assigned, the page producer generates its content using a special script-producer component. When ScriptEngine is not assigned, the page producer uses only the OnHTMLTag event, plus any other built-in translations provided by a descendant class.

See Also