The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

System - Interface to basic system function.

SYNOPSIS

    my $system = Example::API::System->new(
        app_name     => __PACKAGE__,
        app_version  => __PACKAGE__->VERSION,
        active_since => Time::HiRes::time(),
    );

    my $pong = $system->rpc_ping();
    my $version = $system->rpc_version();
    my $methods = $system->rpc_list_methods();

DESCRIPTION

rpc_ping()

Returns the string 'pong'.

rpc_status

Returns:

    {
        app_version => ...,
        app_name    => ...,
        active_since => ...,
    }

rpc_version()

Returns a struct:

    {software_version => 'X.YZ'}

rpc_list_methods()

Returns a struct for all protocols with all endpoints and functions for that endpoint.

COPYRIGHT

(c) MMXVII - Abe Timmerman <abeltje@cpan.org>