Theia API Documentation v1.65.0
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    directoryArchiver: DirectoryArchiver
    fileDownloadCache: FileDownloadCache
    logger: ILogger

    Methods

    • Prepares the file and the link for download

      Parameters

      • request: Request
      • response: Response
      • options: PrepareDownloadOptions

      Returns Promise<void>

    • Streams the file and pipe it to the Response to avoid any OOM issues

      Parameters

      • status: number
      • response: Response
      • stream: ReadStream
      • id: string

      Returns void