CPAN-Faker-HTTPD
view release on metacpan or search on metacpan
See Test::Fake::HTTPD for details.
server
Plack application that will handle the serving of files. The default is
an instance of Plack::App::File, which will simply serve any static
files under the fake CPAN. Can be overriden during construction.
app
Coderef that will be passed to "run" in Test::Fake::HTTPD. It converts
the HTTP::Request object to a PSGI environment hash before transferring
control on to the "server". Can be overriden during construction.
dest
Directory in which to construct the CPAN instance. Same as in
CPAN::Faker, but not required any more. If not supplied, a temporary
directory will be used, as presumably it is the repository uri rather
than the repository path that users of this module will test against.
See CPAN::Faker for details.
lib/CPAN/Faker/HTTPD.pm view on Meta::CPAN
=head2 server
Plack application that will handle the serving of files. The default is
an instance of L<Plack::App::File>, which will simply serve any static
files under the fake CPAN. Can be overriden during construction.
=head2 app
Coderef that will be passed to L<Test::Fake::HTTPD/run>. It converts the
L<HTTP::Request> object to a L<PSGI> environment hash before transferring
control on to the L</server>. Can be overriden during construction.
=head2 dest
Directory in which to construct the CPAN instance. Same as in L<CPAN::Faker>,
but not required any more. If not supplied, a temporary directory will be
used, as presumably it is the repository uri rather than the repository path
that users of this module will test against.
See L<CPAN::Faker> for details.
( run in 0.530 second using v1.01-cache-2.11-cpan-de7293f3b23 )