Constructors

  • Parameters

    • source: string
    • chunked: boolean = false
    • size: number
    • file: File

    Returns Upload

Accessors

  • get response(): null | AxiosResponse
  • Returns null | AxiosResponse

  • set response(response: null | AxiosResponse): void
  • Parameters

    • response: null | AxiosResponse

    Returns void

  • get signal(): AbortSignal
  • Returns the axios cancel token source

    Returns AbortSignal

  • get uploaded(): number
  • Returns number

  • set uploaded(length: number): void
  • Update the uploaded bytes of this upload

    Parameters

    • length: number

    Returns void

Methods

  • Cancel any ongoing requests linked to this upload

    Returns void

MMNEPVFCICPMFPCPTTAAATR