put method
Puts a new file at path
with localData
as content.
lastModified
sets the date when the file was last modified on the server.
created
sets the date when the file was created on the server.
See:
- http://www.webdav.org/specs/rfc2518.html#METHOD_PUT for more information.
- put_Request for the request sent by this method.
Implementation
Future<http.StreamedResponse> put(
Uint8List localData,
PathUri path, {
DateTime? lastModified,
DateTime? created,
}) {
final request = put_Request(
localData,
path,
lastModified: lastModified,
created: created,
);
return csrfClient.send(request);
}