Apache2-API
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
location of the pid file (default is C<$t_logs/httpd.pid>)
=head2 -t_state
the state/ test directory (default is C<$t_dir/state>)
=head2 -target
name of server binary (default is C<apxs -q TARGET>)
=head2 -thread_module_name
thread module name
=head2 -threadsperchild
number of threads per child when using threaded MPMs (default is C<10>)
=head2 -top_dir
top-level directory (default is C<$PWD>)
=head2 -user
User to run test server as (default is C<$USER>)
=cut
lib/Apache2/API.pm view on Meta::CPAN
location of the pid file (default is C<$t_logs/httpd.pid>)
=item C<-t_state>
the state/ test directory (default is C<$t_dir/state>)
=item C<-target>
name of server binary (default is C<apxs -q TARGET>)
=item C<-thread_module_name>
thread module name
=item C<-threadsperchild>
number of threads per child when using threaded MPMs (default is C<10>)
=item C<-top_dir>
top-level directory (default is C<$PWD>)
=item C<-user>
User to run test server as (default is C<$USER>)
=back
lib/Apache2/API/Request.pm view on Meta::CPAN
This is also an object initialisation property.
If true, this will discard the normal processing of incoming HTTP request under modperl.
This is useful and intended when testing this module offline.
=head2 child_terminate
Terminate the current worker process as soon as the current request is over, by calling L<Apache2::RequestRec/child_terminate>
This is not supported in threaded MPMs.
See L<Apache2::RequestUtil> for more information.
=head2 client_api_version
Returns the client api version requested, if provided. This is set during the object initialisation phase.
An example header to require api version C<1.0> would be:
Accept: application/json; version=1.0; charset=utf-8
( run in 1.515 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )