line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Plack::Handler::HTTP::Server::PSGI; |
2
|
38
|
|
|
38
|
|
31540
|
use strict; |
|
38
|
|
|
|
|
372
|
|
|
38
|
|
|
|
|
1771
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
# for temporary backward compat |
5
|
38
|
|
|
38
|
|
265
|
use parent qw( HTTP::Server::PSGI ); |
|
38
|
|
|
|
|
409
|
|
|
38
|
|
|
|
|
1080
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub new { |
8
|
38
|
|
|
38
|
0
|
337
|
my($class, %args) = @_; |
9
|
38
|
|
|
|
|
379
|
bless { %args }, $class; |
10
|
|
|
|
|
|
|
} |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub run { |
13
|
37
|
|
|
37
|
0
|
111
|
my($self, $app) = @_; |
14
|
37
|
|
|
|
|
185
|
$self->_server->run($app); |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub _server { |
18
|
37
|
|
|
37
|
|
74
|
my $self = shift; |
19
|
37
|
|
|
|
|
259
|
HTTP::Server::PSGI->new(%$self); |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
__END__ |