Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Checking in changes prior to tagging of version 0.01. Changelog diff is:

  • Loading branch information...
commit ebc6b0947f6772e21ebae870fae61c05fe45a255 1 parent e01513f
@miyagawa authored
View
1  MANIFEST
@@ -25,6 +25,7 @@ MANIFEST This list of files
META.yml
README
t/00_compile.t
+t/anyevent.t
xt/perlcritic.t
xt/pod.t
xt/podspell.t
View
4 Makefile.PL
@@ -2,6 +2,10 @@ use inc::Module::Install;
name 'Plack-Server-AnyEvent';
all_from 'lib/Plack/Server/AnyEvent.pm';
readme_from 'lib/Plack/Server/AnyEvent.pm';
+requires 'AnyEvent';
+requires 'Plack::Util';
+requires 'HTTP::Status';
+requires 'Plack::Middleware::ContentLength';
build_requires 'Test::More';
use_test_base;
auto_include_deps;
View
22 README
@@ -1,17 +1,23 @@
NAME
- Plack::Server::AnyEvent -
+ Plack::Server::AnyEvent - AnyEvent based HTTP server
SYNOPSIS
- use Plack::Server::AnyEvent;
+ my $server = Plack::Server::AnyEvent->new(
+ host => $host,
+ port => $port,
+ );
+ $server->run($app);
DESCRIPTION
- Plack::Server::AnyEvent is
+ Plack::Server::AnyEvent is a Plack server implementation using AnyEvent.
+ This server runs in a non-blocking event loop and suitable for
+ event-driven web applications like streaming API servers.
+
+LICENSE
+ This module is licensed under the same terms as Perl itself.
AUTHOR
- Tatsuhiko Miyagawa <miyagawa@bulknews.net>
+ Tokuhiro Matsuno
-LICENSE
- This library is free software; you can redistribute it and/or modify it
- under the same terms as Perl itself.
+ Tatsuhiko Miyagawa
-SEE ALSO
View
18 lib/Plack/Server/AnyEvent.pm
@@ -1,6 +1,8 @@
package Plack::Server::AnyEvent;
use strict;
use warnings;
+use 5.008_001;
+our $VERSION = '0.01';
use AnyEvent;
use AnyEvent::Handle;
@@ -179,8 +181,6 @@ sub run {
1;
__END__
-# note: regexps taken from HSS
-
=head1 NAME
Plack::Server::AnyEvent - AnyEvent based HTTP server
@@ -195,6 +195,18 @@ Plack::Server::AnyEvent - AnyEvent based HTTP server
=head1 DESCRIPTION
-This implementation is considered highly experimental.
+Plack::Server::AnyEvent is a Plack server implementation using
+AnyEvent. This server runs in a non-blocking event loop and suitable
+for event-driven web applications like streaming API servers.
+
+=head1 LICENSE
+
+This module is licensed under the same terms as Perl itself.
+
+=head1 AUTHOR
+
+Tokuhiro Matsuno
+
+Tatsuhiko Miyagawa
=cut
View
0  t/Plack-Server/anyevent.t → t/anyevent.t
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.