svgui/pyjs/jsonrpc/README.txt
author dporopat <denis.poropat@smarteh.si>
Wed, 09 May 2018 15:09:54 +0200
branch#2476
changeset 2006 c4ba142bf3fb
parent 728 e0424e96e3fd
permissions -rw-r--r--
#2476 Separate connectors dialogs from connectors module.
These classes are intended for use server-side.

e.g. in a django view.py :

    from pyjs.jsonrpc.django import JSONService, jsonremote

    jsonservice = JSONRPCService()

    @jsonremote(jsonservice)
    def test(request, echo_param):
         return "echoing the param back: %s" % echo_param