lib.js Documentation

<- Back to the documentation index

Methods

lib.readFromURL(url, callback)
Sends an HTTP request for a given url, and returns the response text. If callback is specified, the request is sent asynchronously and response text is returned as the first parameter to the callback.