SetResponseStream Method
Sets a stream to be served as a response.
procedure SetResponseStream(ConnectionId: Int64; DataStream: TStream; CloseStream: Boolean; ContentType: String);
Remarks
Use this property to provide the response content in a stream. Set CloseStream to indicate that the stream should be disposed of once sent.