Web.ApacheHTTP.TApacheResponse.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.ApacheHTTP.pas
Web.ApacheHTTP.hpp
Web.ApacheHTTP TApacheResponse

Description

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

Web.ApacheHTTP.TApacheResponse.SendStream inherits from Web.HTTPApp.TWebResponse.SendStream. All content below this line refers to Web.HTTPApp.TWebResponse.SendStream.

Provides the abstract (pure virtual) prototype of a method that 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 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.

See Also