CreateArchiveController | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Class CreateArchiveController

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Adds a file to the archive, returns when the file data has been streamed to the archive stream

      Parameters

      • name: string
      • data:
            | string
            | Blob
            | ArrayBuffer
            | Uint8Array<ArrayBufferLike>
            | ReadableStream<Uint8Array<ArrayBufferLike>>
      • modTime: null | ValidZipDateTimeSources
      • Optionaloptions: { compressionLevel?: number }

      Returns Promise<void>

    • Adds a folder to the archive, returns when the folder data has been streamed to the archive stream

      Parameters

      Returns Promise<void>