class ResponseBody < Body
- Inherits from
Body: #stream?, #read, #call, #close_input, #close_output, #inspect, #empty?, #ready?, #rewindable?, #rewind, #buffered, #length, #each, #join, #finish, #discard, #as_json, #to_json, #to_io
A response body is used on the server side to generate the response body using a block.
Definitions
def close(error = nil)
Close will be invoked when all the output is written.
Implementation
def close(error = nil)
self.close_output(error)
end