class HTTP::Response::IoBody

def readpartial(size = HTTP::Connection::BUFFER_SIZE)

Returns:
  • (String, nil) - the next `size` octets part of the
def readpartial(size = HTTP::Connection::BUFFER_SIZE)
  stream!
  return nil if stream.eof?
  stream.readpartial(size)
end