APNS-Agent
view release on metacpan or search on metacpan
lib/APNS/Agent.pm view on Meta::CPAN
if (!$args{listen} && !$args{port} && !$ENV{SERVER_STARTER_PORT}) {
$args{port} = 4905;
}
require Plack::Loader;
Plack::Loader->load(Twiggy => %args)->run($self->to_app);
}
1;
__END__
=encoding utf-8
=head1 NAME
APNS::Agent - agent server for APNS
=head1 SYNOPSIS
use APNS::Agent;
my $agent = APNS::Agent->new(
certificate => '/path/to/certificate',
( run in 0.233 second using v1.01-cache-2.11-cpan-4d50c553e7e )