AnyEvent-WebService-Notifo

 view release on metacpan or  search on metacpan

lib/AnyEvent/WebService/Notifo.pm  view on Meta::CPAN


=head2 send_notification

Sends a notification.

It accepts a hash with parameters. We require a C<cb> parameter. This
must be a coderef or a condvar, that will be called with the response.

In void context, this method returns nothing. In scalar context, it
returns a guard object. If this object goes out of scope, the request is
canceled. So you need to keep this guard object alive until your
callback is called.

See
L<< Protocol::Notifo->send_notification()|Protocol::Notifo/send_notification >>
for list of parameters that this method accepts, and an explanation of
the response that the callback receives.

=head1 SEE ALSO

L<Protocol::Notifo>, L<AnyEvent>



( run in 0.678 second using v1.01-cache-2.11-cpan-df04353d9ac )