Get a WebDAV client configured to include the Nextcloud request token

  • Parameters

    • remoteURL: string = defaultRemoteURL

      The DAV server remote URL

    • headers: Record<string, string> = {}

      Optional additional headers to set for every request

    Returns WebDAVClient