propfind method

Future<WebDavMultistatus> propfind(
  1. PathUri path, {
  2. WebDavPropWithoutValues? prop,
  3. WebDavDepth? depth,
})

Retrieves the props for the resource at path.

Optionally populates the given props on the returned resources. depth can be used to limit scope of the returned resources. See:

Implementation

Future<WebDavMultistatus> propfind(
  PathUri path, {
  WebDavPropWithoutValues? prop,
  WebDavDepth? depth,
}) async {
  final request = propfind_Request(
    path,
    prop: prop,
    depth: depth,
  );

  final streamedResponse = await csrfClient.send(request);
  final response = await http.Response.fromStream(streamedResponse);
  return const WebDavResponseConverter().convert(response);
}