copy method
Copies the resource from sourcePath
to destinationPath
.
If overwrite
is set any existing resource will be replaced.
See:
- http://www.webdav.org/specs/rfc2518.html#METHOD_COPY for more information.
- copy_Request for the request sent by this method.
Implementation
Future<http.StreamedResponse> copy(
PathUri sourcePath,
PathUri destinationPath, {
bool overwrite = false,
}) {
final request = copy_Request(
sourcePath,
destinationPath,
overwrite: overwrite,
);
return csrfClient.send(request);
}