The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Net::APNs::Extended::Feedback - Client library for APNs feedback service

SYNOPSIS

use Net::APNs::Extended::Feedback;

my $feedback = Net::APNs::Extended::Feedback->new(
    is_sandbox => 1,
    cert_file   => 'xxx',
);

my $feedbacks = $feedback->retrieve_feedback;
# [
#   {
#     time_t    => ...,
#     token_bin => ...,
#     token_hex => ...,
#   },
#   {
#     time_t    => ...,
#     token_bin => ...,
#     token_hex => ...,
#   },
#   ...
# ]

METHODS

new(%args)

Create a new instance of Net::APNs::Extended::Feedback.

Supported args same as Net::APNs::Extended.

retrieve_feedback()

This method is receive the feedback from APNs.

my $feedbacks = $feedback->retrieve_feedback;

AUTHOR

xaicron <xaicron {@} cpan.org>

COPYRIGHT

Copyright 2012 - xaicron

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO