Experimental
Enables you to read content from a URI.
Globals
Functions
readURI(uri, options)
Reads a URI and returns a promise.
Parameters
uri : string
The URL, as a string, to load.
options : object
Optional options:
Name | Type | |
---|---|---|
sync | boolean |
If this option is set to |
charset | string |
The character set to use when read the content of the |
Returns
promise : The promise that will be resolved with the content of the URL given.