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

PSA::Acceptor - Base class for back-ends to accept PSA requests

SYNOPSIS

 my $acceptor = PSA::Acceptor::AutoCGI->new();

DESCRIPTION

Normally, you create an instance of a sub-class of this module. Currently the only acceptors that has been written is PSA::Acceptor::AutoCGI. There should be a PSA::Acceptor::TCP, as well, for convenience.

METHODS

get_request()

Returns a request if one is available, or undef if there are none.

stale()

Returns true if this acceptor has seen its day.

SEE ALSO

PSA, PSA::Acceptor::AutoCGI, PSA::Acceptor::Dummy