Libraries
Gethttp Source Code
 previous   up   next 

Function Summary
string
getHttp (in string: location)
Get data specified by a location using the HTTP protocol.

Function Detail

getHttp

const func string: getHttp (in string: location)

Get data specified by a location using the HTTP protocol.

getHttp("example.com")
getHttp("www.example.com/index.html")

Note that location is not prefixed with "http://", since the protocol used is specified by the function name getHttp.

Parameters:
location - URL without http:// at the beginning.
Returns:
the string of data found, or "" if nothing was found.


 previous   up   next