<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">NAME
    Perinci::Access::Simple::Client - Riap::Simple client

VERSION
    version 0.07

SYNOPSIS
     use Perinci::Access::Simple::Client;
     my $pa = Perinci::Access::Simple::Client-&gt;new;

     my $res;
     $res = $pa-&gt;request(call =&gt; 'riap+tcp://localhost:5678/Foo/Bar/func',
                         {args =&gt; {a1=&gt;1, a2=&gt;2}});

DESCRIPTION
    This class implements Riap::Simple client. It supports the 'riap+tcp',
    'riap+unix', and 'riap+pipe' schemes.

    This class uses Log::Any for logging.

METHODS
  PKG-&gt;new(%attrs) =&gt; OBJ
    Instantiate object. Known attributes:

    *   retries =&gt; INT (default 2)

        Number of retries to do on network failure. Setting it to 0 will
        disable retries.

    *   retry_delay =&gt; INT (default 3)

        Number of seconds to wait between retries.

  $pa-&gt;request($action =&gt; $server_url, \%extra) =&gt; $res
    Send Riap request to $server_url.

SEE ALSO
    Perinci::Access::Simple::Server

    Riap::Simple, Riap, Rinci

AUTHOR
    Steven Haryanto &lt;stevenharyanto@gmail.com&gt;

COPYRIGHT AND LICENSE
    This software is copyright (c) 2012 by Steven Haryanto.

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

</pre></body></html>