Nobuo Danjou > Plack-App-DAV-0.03 > Plack::App::DAV

Download:
Plack-App-DAV-0.03.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.03   Source  

NAME ^

Plack::App::DAV - simple DAV server for Plack

SYNOPSIS ^

  plackup -MPlack::App::DAV -e 'Plack::App::DAV->new->to_app'

DESCRIPTION ^

Plack::App::DAV is simple DAV server for Plack.

CONFIGURATION ^

root

Document root directory. Defaults to the current directory.

dbobj

class specification and instanciate arguments for Net::DAV::LockManager. Defaults to 'Simple', makes Net::DAV::LockManager::Simple instance.

  my $app = Plack::App::DAV->new->to_app;

is identical to the below.

  my $app = Plack::App::DAV->new(dbobj => 'Simple')->to_app;

To make LockManager with sqlite DB, write

  my $app = Plack::App::DAV->new(
      dbobj => [DB => 'dbi:sqlite:lockdb.sqlite3']
  )->to_app;

AUTHOR ^

Nobuo Danjou <nobuo.danjou@gmail.com>

SEE ALSO ^

Net::DAV::Server

LICENSE ^

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: