NAME

ASP4::Mock::Connection - Mimic the Apache2::Connection object

SYNOPSIS

my $connection = $r->connection;

if( $connection->aborted ) {
  # The connection has been closed:
}

my $socket = $connection->client_socket;

DESCRIPTION

Minimal mimic of the Apache2::Connection object.

PUBLIC PROPERTIES

aborted( )

Returns true or false, if the current connection has been aborted or not - respectively.

client_socket( )

Returns an instance of ASP4::Mock::ClientSocket.