Namespace: upload

PaywallHttpRequest.upload

Upload Event XMLHttpRequestEventTarget containing event listeners for upload events. Only called after passing paywall.
Source:

Methods

(static) addEventListener(type, callback, options)

Method to add upload event listener. The listener is cached until passing paywall. See standard EventTarget documentation for details.
Parameters:
Name Type Description
type type of event.
callback the call back function.
options callback options, see EventTarget documentation.
Source:

(static) dispatchEvent()

Method that shouldn't be called will throw error.
Source:

(static) removeEventListener(type, callback, options)

Method to remove upload event listener. The listener is cached until passing paywall. See standard EventTarget documentation for details.
Parameters:
Name Type Description
type type of event.
callback the call back function.
options callback options, see EventTarget documentation.
Source: