Class: StreamingPartRetriever

PartRetrievers. StreamingPartRetriever

Represents a streaming part retriever.

new StreamingPartRetriever(url, cacheHint, decrypt, decryptOptions [, customHeaders])

Constructs a new StreamingPartRetriever. StreamingPartRetriever streams a .xod file hosted on a web server and display pages as they are available.

Note: As of version 6.0, directly constructing a part retriever is deprecated and the capability will be removed in a future version. Please use the PartRetrievers#getPartRetriever function instead.
Parameters:
Name Type Argument 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. {password: "pass", type: "aes"}
customHeaders Object <optional>
Custom headers to send with the XMLHttpRequests

Extends