ClientFileExtensions extension
- on
Methods
-
download(
String path, {required String savePath, Map< String, String> ? query, Map<String, String> ? headers, TClientToken? token, OnCancelCallback? onCancelCallback, void onError(String message)?, OnReceiveProgressCallback? onReceiveProgress, OnReceiveProgressSpeedCallback? onReceiveProgressSpeed}) → Future<File> -
Available on TClient, provided by the ClientFileExtensions extension
File download with progress -
downloadStream(
String path, {required String savePath, TClientToken? token, Map< String, String> ? query, Map<String, String> ? headers}) → Stream<DownloadStreamProgress> -
Available on TClient, provided by the ClientFileExtensions extension
File Download Stream -
upload(
String path, {required File file, Map< String, String> ? query, Map<String, String> ? fields, Map<String, String> ? headers, void onUploadProgress(int sent, int total)?, OnCancelCallback? onCancelCallback, void onError(String message)?, TClientToken? token}) → Future<TClientResponse?> -
Available on TClient, provided by the ClientFileExtensions extension
File upload with progress -
uploadStream(
String path, {required File file, TClientToken? token}) → Stream< UploadStreamProgress> -
Available on TClient, provided by the ClientFileExtensions extension
File Upload Stream