Options
All
  • Public
  • Public/Protected
  • All
Menu

Upload Service provides a wrapper for the iland upload engine to allow robust, resumable uploads of large files.

Hierarchy

  • UploadService

Index

Methods

Static getSessionFileInfo

  • Gets info for a specific file within an upload session.

    Parameters

    • host: string

      the upload session host

    • sessionID: string

      the upload session UUID

    • fileName: string

      the name of the file within the upload session

    Returns Promise<UploadSessionFileInfo>

    a promise that resolves with the file info

Static listMissingFileChunks

  • Lists the missing file chunks for an upload session.

    Parameters

    • host: string

      the upload session host

    • sessionID: string

      the upload session UUID

    • fileName: string

      the name of the file within the upload session

    Returns Promise<UploadSessionFileChunkRangeList>

    a promise that resolves with upload session missing file chunk range list

Static listSessionFileInfo

Static uploadFiles

  • Uploads multiple files to an upload session simultaneously.

    Parameters

    • host: string

      the upload session host

    • sessionID: string

      the upload session UUID

    • files: Array<File>

      the list of files to upload

    • Optional logger: Logger

      an optional logger to enable console messages for internal process details

    Returns FileProgressObservable

    an observable that emits events to notify consumers of upload progress for each file

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc