• downloads a File with given response type and type. Reports progress.

    Type Parameters

    • T

    Parameters

    • http: HttpClient

      Angular HTTP client

    • url: string

      URL for download

    • responseType:
          | "text"
          | "arraybuffer"
          | "blob"
          | "json"

      response type

    Returns Subject<{
        progress: number;
        result?: T;
    }>