Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FileDownloadService

Hierarchy

  • FileDownloadService

Index

Constructors

constructor

Properties

Protected anchor

anchor: undefined | HTMLAnchorElement

Protected downloadCounter

downloadCounter: number = 0

Protected Readonly logger

logger: ILogger

Protected Readonly messageService

messageService: MessageService

Methods

Protected body

cancelDownload

  • cancelDownload(id: string): Promise<void>

download

Protected endpoint

  • endpoint(): string

Protected filesUrl

  • filesUrl(): string

Protected forceDownload

  • forceDownload(id: string, title: string): Promise<void>

Protected handleCopy

  • handleCopy(event: ClipboardEvent, downloadUrl: string): void

Protected request

  • request(uris: default[]): Request

Protected requestInit

  • requestInit(uris: default[]): RequestInit

Protected url

  • url(uris: default[]): string