new HttpPartRetriever(url, cacheHint, decrypt, decryptOptions)
Constructs a new HttpPartRetriever. HttpPartRetriever retrieves Document parts asynchronously from a .xod file hosted on a web server. The server is required to support the HTTP/1.1 protocol.
Parameters:
Name | Type | Description |
---|---|---|
url |
string | The URL of the file to load. May be relative to the current page. |
cacheHint |
PartRetrievers.CacheHinting | The type of cache hinting to use |
decrypt |
function | Function to be called to decrypt a part of the file |
decryptOptions |
Object | An object with options for the decryption e.g. {p: "pass", type: "aes"} where is p is the password |