custom RPC method

Zaid Abdulla zaid at genieacs.com
Mon May 8 17:31:48 EDT 2017


On Mon, 2017-05-08 at 16:15 +0200, mggg at gmx.de wrote: 
> my question targeted more on to how the source code has to be changed
> and where to add a custom rpc method. The standard methods are
> working pretty fine and so the framework should be expandable...
>  
> Perhaps the download method is the right cadidate as template?

The download method is represented as parameters because Genie doesn't
see commands -- it sees a data model. So yes, you could try to do
something similar to that. The only file you'll need to work with is
session.coffee. It's a huge file though and I'm still struggling how to
break it down into smaller files.

-- 
Zaid Abdulla <zaid at genieacs.com>


More information about the Users mailing list