Blockland Forums > Modification Help
How to use HTTPObjects
otto-san:
--- Quote from: Kalphiter on December 20, 2010, 09:11:14 PM ---you don't need the {}
--- End quote ---
once again kalphiter supplies useful information
otto-san:
Alright, I got the webserver set up, it works, so now I'm going to mess around with HTTPObjects. :D
Having trouble getting text from it, do you use obj.get()?
if so, how exactly do you use that?
Bauklotz:
--- Quote from: ZSNO on December 20, 2010, 09:02:16 PM ---new HTTPObject(Httptest){};httptest.dump();
--- End quote ---
replace the {}; with .
new HTTPObject(Httptest).dump();
otto-san:
bump. can anyone help with this?
Kalphiter:
.get("google.com:80", "/", "");
function asdf::onLine(%this, %line)
{
echo(%line);
}