net_http(host,loc)

From ENIGMA
Jump to navigation Jump to search

Description

Queries an http host and location, returns the contents. This method handles the packets and headers for you.

Parameters

Parameter Data Type Description
host string hostname or ipaddress
loc string location on the host

Return Values

string: Returns the contents of the query.

Example Call

// demonstrates a hyper text protocol query
var res;
res = net_http("google.com","");