Class: StreamHttpResult
A class for representing HTTP stream results.
Extends
HttpResult<undefined>
Constructors
Constructor
new StreamHttpResult(
stream,options?):StreamHttpResult
Parameters
stream
ReadableStream
options?
contentType?
string
filename?
string
Returns
StreamHttpResult
Overrides
Properties
rc
readonlyrc:number
Inherited from
value
readonlyvalue:undefined
Inherited from
Methods
process()
process(
context):Promise<void>
Processes the result using the provided execution context.
Parameters
context
The execution context containing relevant information for processing.
Returns
Promise<void>
A promise resolving when the result has been processed.