BrightSign Object Reference Manual (FW 5.1) User Manual
Page 174

166
•
EnableUnsafeProxyAuthentication(enable As Boolean) As Boolean: Supports basic HTTP
authentication against proxies if True (which, unlike
EnableUnsafeAuthentication(), is the default setting).
HTTP authentication uses an insecure protocol, which might allow others to easily determine the password. If this
method is False, it will refuse to provide passwords via basic HTTP authentication, and any requests requiring this
authentication type will fail.
•
AsyncDownload(assets As roAssetCollection) As Boolean: Begins populating the asset pool using
the files listed in the passed
instance. Files that are not already in the pool will be downloaded
automatically. Events are raised during the download process to indicate whether individual file downloads have
succeeded or failed; finally, a single event will be raised indicating whether the entire asset collection has been
downloaded successfully or not. See the
details.
•
AsyncSuggestCache(a As Object) As Boolean
•
AsyncCancel() As Boolean: Cancels any pending “Async” requests. Note that, prior to and during this method
call, events associated with an asynchronous action may be queued. No more events will be queued once this call
returns. We recommend collecting any pending events prior to calling any further “Async” methods on the same
object to avoid confusion.
•
EnablePeerVerification(verification As Boolean)
•
EnableHostVerification(verification As Boolean)
•
SetCertificatesFile(filename As String)
•
AddHeader(name As String, value As String): Specifies a header that will be passed to HTTP requests
made by the roAssetFetcher object. A particular download will not include the header if it has the
<headers
inherit=”no”> attribute in the sync spec.
•
SetHeaders(headers As roAssociativeArray) As Boolean: Specifies all headers that will be passed to
HTTP requests made by the roAssetFetcher object. This method removes any previously set headers. A particular
download will not include the headers if it has the
<headers inherit=”no”> attribute in the sync spec.
•
SetMinimumTransferRate(bytes_per_second As Integer, period_in_seconds As Integer) As
Boolean: Sets the minimum transfer rate for each file download. A transfer will be terminated if the rate drops