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