class ResponseBody public
Represents http response
#on_read(&block) public
buffered read callback to pipe response data
Arguments
- block - the callback
Returns
Returns nothing
#write(content) internal
Writes content to this response's io
Arguments
- content - a string
#finish internal
closes the io
#json public
Get the response body as a ruby object
Returns
Returns Object
#all public
Get response body as a String
Returns
Returns String