Skip to content

IntelliHome::WebUI::Plugin::RPC

mudler edited this page Aug 21, 2014 · 1 revision

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 dgikiller@gmail.comt

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

Clone this wiki locally