From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

Rex::IO::Client - Client Library for Rex::IO::Server

GETTING HELP

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") );

METHODS

get_plugins()

List all known server plugins.

call($verb, $version, $plugin, @param)

Creates a backend request.