Class: DAVSession

server.DAVSession

Class representing a WebDAV session serving a filesystem.

On the client side, html.DavFS may be used as a WebDAV client.

Example

HTTPServer {

    host: "0.0.0.0"
    port: 8000

    LocalFS {
        id: localFs
    }

    HTTPRoute {

        delegate: DAVSession {
            filesystem: localFs
            root: "/opt/dav"
        }

    }

}

new server.DAVSession ()

Properties:
Name Type Description
filesystem core.Filesystem

(default: null) The filesystem to serve.

root string

(default: "/") The path in the filesystem to use as the root folder.

Extends