SetResponseStream Method
Sets a stream to be served as a response.
Syntax
public void SetResponseStream(long connectionId, System.IO.Stream dataStream, bool closeStream, string contentType);
Public Sub SetResponseStream(ByVal ConnectionId As Long, ByVal DataStream As System.IO.Stream, ByVal CloseStream As Boolean, ByVal ContentType As 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.