downloadStream method

Stream<DownloadStreamProgress> downloadStream(
  1. String path, {
  2. required String savePath,
  3. TClientToken? token,
  4. Map<String, String>? query,
  5. Map<String, String>? headers,
})

File Download Stream

Implementation

Stream<DownloadStreamProgress> downloadStream(
  String path, {
  required String savePath,
  TClientToken? token,
  Map<String, String>? query,
  Map<String, String>? headers,
}) {
  return httpDownloadStream(
    this,
    path,
    savePath: savePath,
    token: token,
    headers: headers,
    query: query,
  );
}