The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.