WebDavClient class

WebDavClient class

Constructors

WebDavClient(DynamiteClient rootClient)

Properties

hashCode int
The hash code for this object.
no setterinherited
rootClient → DynamiteClient
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copy(PathUri sourcePath, PathUri destinationPath, {bool overwrite = false}) Future<StreamedResponse>
Copies the resource from sourcePath to destinationPath.
delete(PathUri path) Future<StreamedResponse>
Deletes the resource at path.
get(PathUri path) Future<Uint8List>
Gets the content of the file at path.
getFile(PathUri path, File file, {void onProgress(double progress)?}) Future<void>
Gets the content of the file at path.
getStream(PathUri path, {void onProgress(double progress)?}) Stream<List<int>>
Gets the content of the file at path.
mkcol(PathUri path) Future<StreamedResponse>
Creates a collection at path.
move(PathUri sourcePath, PathUri destinationPath, {bool overwrite = false}) Future<StreamedResponse>
Moves the resource from sourcePath to destinationPath.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
options() Future<WebDavOptions>
Gets the WebDAV capabilities of the server.
propfind(PathUri path, {WebDavPropWithoutValues? prop, WebDavDepth? depth}) Future<WebDavMultistatus>
Retrieves the props for the resource at path.
proppatch(PathUri path, {WebDavProp? set, WebDavPropWithoutValues? remove}) Future<bool>
Updates the props of the resource at path.
put(Uint8List localData, PathUri path, {DateTime? lastModified, DateTime? created}) Future<StreamedResponse>
Puts a new file at path with localData as content.
putFile(File file, FileStat fileStat, PathUri path, {DateTime? lastModified, DateTime? created, void onProgress(double progress)?}) Future<StreamedResponse>
Puts a new file at path with file as content.
putStream(Stream<List<int>> localData, PathUri path, {DateTime? lastModified, DateTime? created, int? contentLength, void onProgress(double progress)?}) Future<StreamedResponse>
Puts a new file at path with localData as content.
report(PathUri path, WebDavOcFilterRules filterRules, {WebDavPropWithoutValues? prop}) Future<WebDavMultistatus>
Runs the filter-files report with the filterRules on the resource at path.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

constructUri(Uri baseURL, [PathUri? path]) Uri