| 1 | package Plack::Handler::HTTP::Server::PSGI; | ||
| 2 | 38 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | |||
| 4 | # for temporary backward compat | ||
| 5 | 38 | ▶ | use parent qw( HTTP::Server::PSGI ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 38 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 8 | 38 | my($class, %args) = @_; | |
| 9 | 38 | bless { %args }, $class; | |
| 10 | } | ||
| 11 | |||
| 12 | 37 | ▶ | sub run { |
|
Subroutine
run: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 13 | 37 | my($self, $app) = @_; | |
| 14 | 37 | $self->_server->run($app); | |
| 15 | } | ||
| 16 | |||
| 17 | 37 | ▶ | sub _server { |
|
Subroutine
_server: called CC=1 SCAR=0.0
| |||
| 18 | 37 | my $self = shift; | |
| 19 | 37 | HTTP::Server::PSGI->new(%$self); | |
| 20 | } | ||
| 21 | |||
| 22 | 38 | 1; | |
| 23 | |||
| 24 | __END__ | ||