36        $this->server->on(
'method:GET', [$this, 
'httpGet'], 90);
 
   50        $queryParams = 
$request->getQueryParameters();
 
   51        if (!array_key_exists(
'mount', $queryParams)) 
return;
 
   53        $currentUri = 
$request->getAbsoluteUrl();
 
   56        list($currentUri) = explode(
'?', $currentUri);
 
   58        $this->
davMount($response, $currentUri);
 
   75        $response->setHeader(
'Content-Type', 
'application/davmount+xml');
 
   77        echo 
'<?xml version="1.0"?>', 
"\n";
 
   78        echo 
"<dm:mount xmlns:dm=\"http://purl.org/NET/webdav/mount\">\n";
 
   79        echo 
"  <dm:url>", htmlspecialchars($uri, ENT_NOQUOTES, 
'UTF-8'), 
"</dm:url>\n";
 
foreach($paths as $path) $request
An exception for terminatinating execution or to throw for unit testing.
This plugin provides support for RFC4709: Mounting WebDAV servers.
initialize(DAV\Server $server)
Initializes the plugin and registers event handles.
davMount(ResponseInterface $response, $uri)
Generates the davmount response.
httpGet(RequestInterface $request, ResponseInterface $response)
'beforeMethod' event handles.
The baseclass for all server plugins.
The RequestInterface represents a HTTP request.
This interface represents a HTTP response.