Class PartRetrievers.HttpPartRetriever
Represents a http part retriever.
Constructor Attributes | Constructor Name and Description |
---|---|
PartRetrievers.HttpPartRetriever(url, useCache, decrypt, decryptOptions)
Constructs a new HttpPartRetriever.
|
Class Detail
PartRetrievers.HttpPartRetriever(url, useCache, 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:
- {string} url
- The URL of the file to load. May be relative to the current page.
- {boolean} useCache
- If true, allows the browser to cache this content.
- {function} decrypt
- Function to be called to decrypt a part of the file
- {Object} decryptOptions
- An object with options for the decryption e.g. {password: "pass", type: "aes"}