Global

Members

(constant) DOMAIN :string

The root domain

Type:
  • string
Default Value:
Source:
To Do:
  • Make this configurable

(protected, constant) HAS_ARGS :boolean

Identifies whether arguments were passed

Type:
  • boolean
Source:

Methods

(protected) catchError(err)

Error handler

Parameters:
Name Type Description
err Error

The caught error

Source:

(protected) gotFile(file)

File handler

Parameters:
Name Type Description
file string

The URL or path of the file

Source:

(protected) progressBar(prog)

Progress handler

Parameters:
Name Type Description
prog Object

Progress details

Source:

Type Definitions

TransferOptions

Type:
  • Object
Properties:
Name Type Attributes Description
filename string <optional>

A custom filename for the upload

Source: