Constructor
new StreamedResponse(responseObject, parent) → {StreamedResponse}
Parameters:
| Name | Type | Description |
|---|---|---|
responseObject |
ServerResponse | The Node server response object |
parent |
RequestResponse | The Origami response object that instantiated this StreamedResponse |
- Source:
Returns:
- Type
- StreamedResponse
Members
commitHeaders
Commit the current headers, sending them with the response. Headers can only be committed once.
- Source:
end
End the response.
- Source:
writeChunk
Write a chunk to the response body.
- Source: