Group
Extension

Matches 1

HTTP-Request-Webpush ( E/ES/ESTRELOW/HTTP-Request-Webpush-0.15.tar.gz, ESTRELOW, 2021; MetaCPAN )
HTTP-Request-Webpush/lib/HTTP/Request/Webpush.pm ( view source; MetaCPAN )

use strict 'vars';
use warnings;

our $VERSION='0.15';

use parent 'HTTP::Request';

use JSON;
use Crypt::JWT qw(encode_jwt);
use MIME::Base64 qw( encode_base64url decode_base64url);
use C
ref $subscription eq 'HASH') {
      $agent=$subscription;
   } else {
      eval {$agent=from_json($subscription); };
   }

   croak "Can't process subscription object" unless ($agent);
   cro
ent using the browser's Push API C<PushManager.subscribe()> method. The argument can
be either a JSON string or a previously setup hash reference. The HTTP::Request uri is taken verbatim from the end

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.