Package : perl-Plack-Test-AnyEvent > RPM : perl-Plack-Test-AnyEvent-0.80.0-5.mga9.src.rpm
Basic items
Name | perl-Plack-Test-AnyEvent |
Version | 0.80.0 |
Release | 5.mga9 |
URL | https://metacpan.org/release/Plack-Test-AnyEvent |
Group | Development/Perl |
Summary | Run Plack::Test on AnyEvent-based PSGI applications |
Size | 21KB |
Arch | noarch |
License | GPL+ or Artistic |
Description
This L<Plack::Test> implementation allows you to easily test your
L<AnyEvent>-based PSGI applications. Normally, L<Plack::Test::MockHTTP> or
L<Plack::Test::Server> work fine for this, but this implementation comes in
handy when you'd like to test your streaming results as they come in, or if
your application uses long-polling. For non-streaming requests, you can use
this module exactly like Plack::Test::MockHTTP; otherwise, you can set up a
content handler and call C<$res-E<gt>recv>. The event loop will then run
until the PSGI application closes its writer handle or until your test
client calls C<send> on the response.
L<AnyEvent>-based PSGI applications. Normally, L<Plack::Test::MockHTTP> or
L<Plack::Test::Server> work fine for this, but this implementation comes in
handy when you'd like to test your streaming results as they come in, or if
your application uses long-polling. For non-streaming requests, you can use
this module exactly like Plack::Test::MockHTTP; otherwise, you can set up a
content handler and call C<$res-E<gt>recv>. The event loop will then run
until the PSGI application closes its writer handle or until your test
client calls C<send> on the response.
Media information
Distribution release | Mageia cauldron |
Media name | core-release |
Media arch | i586 |
Advanced items
Source RPM | NOT IN DATABASE ?! |
Build time | 2022-03-28 22:03:04 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |