Scroll to navigation

XML::RPC::UA::AnyEventSync(3pm) User Contributed Perl Documentation XML::RPC::UA::AnyEventSync(3pm)

NAME

XML::RPC::UA::AnyEventSync - Syncronous XML::RPC useragent, using AnyEvent::HTTP

SYNOPSIS

    use XML::RPC::Fast;
    use XML::RPC::UA::AnyEventSync;
    
    my $rpc = XML::RPC::Fast->new(
        $uri,
        ua => XML::RPC::UA::AnyEventSync->new(
            ua      => 'YourApp/0.1',
            timeout => 3,
        ),
    );

DESCRIPTION

Syncronous useragent for XML::RPC::Fast. Couldn't be used in any AnyEvent application since using condvar->recv in every call.

IMPLEMENTED METHODS

new

async = 0

call

SEE ALSO

  • XML::RPC::UA

    Base class (also contains documentation)

  • XML::RPC::UA::AnyEvent

    Asyncronous UA using AnyEvent

  • AnyEvent

    DBI of event-loop programming

  • AnyEvent::HTTP

    HTTP-client using AnyEvent

2022-06-28 perl v5.34.0