RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebResponse.ContentStream Property

Specifies the stream object for writing the contents of the HTTP response message to the web client.

Pascal
property ContentStream: TStream;
C++
__property TStream ContentStream;

Use ContentStream to set the contents of the HTTP response message to a value that can be written from a stream. ContentStream allows the response object to write its contents directly from a stream. 

The stream specified by ContentStream can access a string of HTML commands, the contents of a BLOB database field, or any MIME content type.

Note: ContentStream supersedes the Content property. If both Content and ContentStream are set, the web client is sent the value of the ContentStream, not the value of the Content property.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!