The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.