App::KGB::Client::ServerRef(3pm) | User Contributed Perl Documentation | App::KGB::Client::ServerRef(3pm) |
App::KGB::Client::ServerRef - server instance in KGB client
use App::KGB::Client::ServerRef; my $s = App::KGB::Client::ServerRef->new( { uri => "http://some.server:port/", password => 's3cr1t', timeout => 5 } ); $s->send_changes( $client, $protocol_ver, $commit, $branch, $module, { extra => stuff } ); $s->relay_message( $client, $message, [ { opts } ] );
App::KGB::Client::ServerRef is used in App::KGB::Client to refer to remote KGB server instances. It encapsulates sending requests to the remote server, maintaining protocol encapsulation and authentication.
Message parameters are passed as arguments in the following order:
2020-11-03 | perl v5.30.3 |