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

    Function createUploadSession

    • Create an upload session

      Parameters

      • manifest: UploadManifest

        Manifest of files to upload as prepared by requestFile(s)

      • options: UploadSessionOptions = {}

        Options for the upload session

        • chunkSize

          Chunk size for the upload. This should generally be in the megabyte range

        • expires

          Upload session expiry

      Returns Promise<UploadInstructions>