timestee / dart-webdav

A Easy WebDAV Client in Dart
https://github.com/timestee/dart-webdav
The Unlicense
28 stars 14 forks source link

Export WebDavException. #16

Closed Czerwony-Kapturek closed 3 years ago

Czerwony-Kapturek commented 3 years ago

2 small fixes:

Export WebDavException. Some operations may throw an exception. This change allows to handle that in the app.

Fix synchronization of upload() and uploadFile() methods. Without the change they are always executed asynchronously, i.e. it is not possible to wait for transfer completion.