ASP4::Mock::Connection - Mimic the Apache2::Connection object
my $connection = $r->connection; if( $connection->aborted ) { # The connection has been closed: } my $socket = $connection->client_socket;
Minimal mimic of the Apache2::Connection object.
Returns true or false, if the current connection has been aborted or not - respectively.
Returns an instance of ASP4::Mock::ClientSocket.
It's possible that some bugs have found their way into this release.
Use RT http://rt.cpan.org/NoAuth/Bugs.html?Dist=ASP4 to submit bug reports.
Please visit the ASP4 homepage at http://0x31337.org/code/ to see examples of ASP4 in action.
To install ASP4, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ASP4
CPAN shell
perl -MCPAN -e shell install ASP4
For more information on module installation, please visit the detailed CPAN module installation guide.