Anyevent :: APNS.

Apple Push Notifications Service(APNS)プロバイダ用のシンプルラッパー
今すぐダウンロード

Anyevent :: APNS. ランキングとまとめ

広告

  • Rating:
  • ライセンス:
  • Perl Artistic License
  • 価格:
  • FREE
  • 出版社名:
  • Daisuke Murase
  • 出版社のWebサイト:
  • http://search.cpan.org/typester/

Anyevent :: APNS. タグ


Anyevent :: APNS. 説明

アップルプッシュ通知サービス(APN)プロバイダ用のシンプルなラッパー Anyevent :: APNSは、Apple Push Notifications Service(APN)Provider.Synopsisを作成するのに役立つPerlモジュールです..Synopsis anyEvent :: APNを使用します。 My $ CV = Anyevent-> Condvar。 私の$ APN $ APNS = anyevent :: apns-> new(certificate => 'あなたのAPNS証明書ファイル'、private_key => 'あなたのAPNS秘密鍵ファイル'、Sandbox => 1、on_error => sub {#何かが間違っていました}、on_connect = > sub {$ APNS-> SEND($ device_token => {aps => {all => ''受信したメッセージ、}、});}、)} $ APNS-> CONNECT; #message#を送信した後できるだけ早くプログラムを切断して終了します。そうでない場合$ APNはAPNS Server $ APNS-> handler-> on_drain(sub {undef $ _ ; $ CV-> SEND;})で永続的な接続を可能にします。 $ CV-> RECV; 要件: ・Perl


Anyevent :: APNS. 関連ソフトウェア