report method
Future<WebDavMultistatus>
report(
- PathUri path,
- WebDavOcFilterRules filterRules, {
- WebDavPropWithoutValues? prop,
Runs the filter-files report with the filterRules
on the resource at path
.
Optionally populates the prop
s on the returned resources.
See:
- https://github.com/owncloud/docs/issues/359 for more information.
- report_Request for the request sent by this method.
Implementation
Future<WebDavMultistatus> report(
PathUri path,
WebDavOcFilterRules filterRules, {
WebDavPropWithoutValues? prop,
}) async {
final request = report_Request(
path,
filterRules,
prop: prop,
);
final streamedResponse = await csrfClient.send(request);
final response = await http.Response.fromStream(streamedResponse);
return const WebDavResponseConverter().convert(response);
}