RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebResponse.SendStream Method

Provides the abstract (pure virtual) prototype of a method that sends the HTTP response message with the contents set to the contents of AStream.

Pascal
procedure SendStream(AStream: TStream); virtual; abstract;
C++
virtual __fastcall SendStream(TStream AStream) = 0;

Only call SendStream after first calling SendResponse. Unlike SendStream, SendResponse fills the header of the HTTP response message, based on the properties of the TWebResponse object. If SendResponse has not been called first to set the header of the HTTP response message, set the ContentStream property to AStream, and call SendResponse

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!