Web.CGIHTTP.TCGIResponse.SendStream

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SendStream(AStream: TStream); override;

C++

virtual void __fastcall SendStream(System::Classes::TStream* AStream);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Web.CGIHTTP.pas
Web.CGIHTTP.hpp
Web.CGIHTTP TCGIResponse

Description

Sends the HTTP response message with the contents set to the contents of AStream.

Only call SendStream after first calling SendResponse. Unlike SendStream, SendResponse fills the header of the HTTP response message, based on the properties of the TCGIResponse 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.

See Also