Constructors

Methods

  • Create a new post with a file divided into chunks.

    Type Parameters

    • T

    Parameters

    • file: File

      The file object to upload.

    • chunkSize: number = ...

      Size of each chunk in bytes. Default is 1MB.

    • data: {
          [key: string]: any;
      } = {}

      Any additional data to pass along to the upload.

      • [key: string]: any

    Returns Promise<AxiosPromise<default<T>>>

    Promise

Generated using TypeDoc