Class: URLLoader

rune.net.URLLoader(optionsopt)

The URLLoader class downloads data from a URL as text, binary data. It is useful for downloading text files, XML, or other information to be used in a dynamic, data-driven application.

Constructor

new URLLoader(optionsopt)

Creates a URLLoader object.
Parameters:
Name Type Attributes Description
options Object <optional>
A URLRequest object specifying the URL to download. If this parameter is omitted, no load operation begins. If specified, the load operation begins immediately.
Source:

Members

(readonly) response :rune.net.URLResponse

Reference to the URLResponse object that represents the retrieved data. The reference is null if no data has been retrieved.
Type:
Source:

Methods

abort() → {undefined}

Closes the load operation in progress.
Source:
Returns:
Type
undefined

load() → {undefined}

Loads data from the specified URL.
Source:
Returns:
Type
undefined