Httpobject
by Alex Huck · in Torque Game Engine · 10/26/2006 (4:47 pm) · 0 replies
Hi, all. I assume this function fetches the html code of a page. Though I am having trouble getting it to work, namely not understanding some of the parameters:
Using google as an example I create a http object like so:
new HTTPObject(Test)
{
}
I then do
Echo(
Test.post
(
TransportAddress,<<<
"http://www.google.com", <<<< This I know, though do I include the "http://"? :)
string Query,<<<<<<<
string Post<<<<<
);
Can someone please help me understand this object? Is this object used for, as I assumed, retrieving HTTP data? Can I Use this object and its functions to make a basic text-based web browser built in? Or perhaps for automated game updating.
Thanks,
--Alex Huck
Using google as an example I create a http object like so:
new HTTPObject(Test)
{
}
I then do
Echo(
Test.post
(
TransportAddress,<<<
string Query,<<<<<<<
Can someone please help me understand this object? Is this object used for, as I assumed, retrieving HTTP data? Can I Use this object and its functions to make a basic text-based web browser built in? Or perhaps for automated game updating.
Thanks,
--Alex Huck
About the author