NAME
Rex::IO::Client - Client Library for Rex::IO::Server
GETTING HELP
IRC: irc.freenode.net #rex
Bug Tracker: https://github.com/krimdomu/rex-io-client/issues
SYNOPSIS
my $cl = Rex::IO::Client->create(
protocol => 1,
endpoint => "http://"
. $user . ":"
. $password . '@'
. $server_url
);
my $ret = $cl->call("GET", "1.0", "user", user => undef)->{data};
my $ret = $cl->call(
"POST", "1.0", "user",
user => undef,
ref => $self->req->json->{data},
);
my $ret = $cl->call( "DELETE", "1.0", "user", user => $self->param("user_id") );