Take me over?
The maintainer of this distribution is looking for someone to take over!
If you're interested then please contact them via
email.
NAME
Plack::App::WrapApacheReq - Wrapping mod_perl2 applications in Plack
SYNOPSIS
use Plack::App::WrapApacheReq;
my $app = Plack::App::WrapApacheReq->new(
handler => "My::ResponseHandler"
dir_config => { ... }
)->to_app;
DESCRIPTION
Plack::App::WrapApacheReq transforms a mod_perl2 application into a PSGI application
NOTICE
This is Proof of Concept code originating in the mocking code developed to test an internal very non-trivial mod_perl2 application. Features have been added on a need to have basis.
CONFIGURATION
APACHE METHODS
The following methods from Apache2::RequestRec and mixins are supported:
- headers_in =item headers_out =item subprecess_env =item dir_config
- method =item unparsed_uri =item uri =item user =item hostname
- content_type =item content_encoding =item status =item log_reason (implemented as a no-op)
- read =item print =item write
PLACK METHODS
A few methods have been added to the interface to enable interaction with Plack:
- plack_request
-
Returns the underling Plack::Request object
- plack_response
-
Returns the underlying Plack::Response object. During the request phase this is incomplete.
- finalize
-
Fills information into the response object and finalizes it.
AUTHOR
Peter Makholm, peter@makholm.net