IntelliHome::WebUI::Plugin::RPC - IntelliHome/Google-at-Home GitHub Wiki
NAME
IntelliHome::WebUI::Plugin::RPC - RPC plugin for mojolicious web application
SYNOPSIS
my @Objs=rpc_call_blocking("Service",@args)
#or non blocking:
rpc_call("Service", sub { my ($res) = @_; ... },@params);
DESCRIPTION
This Mojolicious plugin allow to call the rpc server of IntelliHome
METHODS
rpc_call
Async call to the RPC server.
rpc_call("Service", @params,
sub { my ($res) = @_; ... }
);
rpc_call_blocking
Blocking call to the RPC server
my @Objs=rpc_call_blocking("Service",@args)
AUTHOR
skullbocks [email protected]
COPYRIGHT
Copyright 2014- skullbocks
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
IntelliHome::WebUI::Plugin::ModelFactory, IntelliHome::IntelliHomeWebUI