WebDAV client abstraction used by sync modes.
WebDavClient
0.1.0
Creates a WebDAV client instance.
Effective WebDAV configuration
Fetch implementation used for HTTP requests
Deletes a remote resource path.
Remote path to delete
Promise resolved when deletion completes
await client.delete('/ai-sync/lock'); Copy
await client.delete('/ai-sync/lock');
Lists remote resources under a path.
Remote path to query
Remote resources returned by PROPFIND
const entries = await client.list('/ai-sync'); Copy
const entries = await client.list('/ai-sync');
Uploads a local payload to a remote path.
Destination path on the WebDAV server
Payload to upload
Promise resolved when upload completes
await client.put('/ai-sync/file.txt', 'content'); Copy
await client.put('/ai-sync/file.txt', 'content');
WebDAV client abstraction used by sync modes.
WebDavClient
Since
0.1.0