NAME

Plack::Middleware::Timeout

SYNOPSIS

my $app = sub { ... };

Plack::Middleeare::Timeout->wrap(
    $app,
    timeout  => 60,
    response => sub { # do something special with response object
        my $plack_response = shift;
        ...;
        return $plack_response;
    }
);

DESCRIPTION

Timeout any plack requests at an arbitrary time.

AUTHOR

Tomasz Czepiel

LICENCE

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