perl-AnyEvent-RPC-0.05-alt1.noarch.rpm


Advertisement

Description

perl-AnyEvent-RPC - Abstract framework for Asyncronous RPC clients

Distribution: ALT Linux Sisyphus
Repository: Autoimports noarch
Package name: perl-AnyEvent-RPC
Package version: 0.05
Package release: alt1
Package architecture: noarch
Package type: rpm
Installed size: 11.35 KB
Download size: 11.35 KB
Official Mirror: ftp.altlinux.org
use AnyEvent::RPC; my $rpc = AnyEvent::RPC->new( host => 'your.api.host', port => 8080, base => '/api/rest/', type => 'REST', # or type => '+AnyEvent::RPC::Enc::REST', ) $rpc->req( # will be called as GET http://your.api.host:8080/api/rest/method/path/args?query=param call => [ method => qw(path args)], query => { query => 'param' }, cb => sub { # ( response, code, error ) if (my $response = shift) { } else { my ($code,$err) = @_; } }, );

Alternatives

Provides

  • perl(AnyEvent/RPC.pm) = 0.050
  • perl(AnyEvent/RPC/Enc.pm)
  • perl(AnyEvent/RPC/Enc/REST.pm) = 0.050
  • perl(AnyEvent/RPC/Enc/YAML.pm) = 0.050
  • perl(AnyEvent/RPC/UA.pm)
  • perl-AnyEvent-RPC = 0.05-alt1

    Install Howto

    1. Add the following line to /etc/apt/sources.list:
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      
    2. Update the package index:
      # sudo apt-get update
    3. Install perl-AnyEvent-RPC rpm package:
      # sudo apt-get install perl-AnyEvent-RPC

    Files

    • /usr/share/doc/perl-AnyEvent-RPC-0.05/Changes
    • /usr/share/doc/perl-AnyEvent-RPC-0.05/LICENSE
    • /usr/share/doc/perl-AnyEvent-RPC-0.05/README
    • /usr/share/perl5/AnyEvent/RPC.pm
    • /usr/share/perl5/AnyEvent/RPC/Enc.pm
    • /usr/share/perl5/AnyEvent/RPC/UA.pm
    • /usr/share/perl5/AnyEvent/RPC/Enc/REST.pm
    • /usr/share/perl5/AnyEvent/RPC/Enc/YAML.pm
    Advertisement
    Advertisement