MCPcopy
hub / github.com/MetaCubeX/metacubexd / WebdavClientOptions

Interface WebdavClientOptions

packages/agent/src/webdav.ts:3–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { Buffer } from 'node:buffer'
2
3export interface WebdavClientOptions {
4 url: string // base WebDAV URL (e.g. https://host/remote.php/dav/)
5 username: string
6 password: string
7 fetch?: typeof fetch // injectable for tests; defaults to global fetch
8}
9
10export interface WebdavClient {
11 put: (path: string, body: string) => Promise<void>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected