svgui/pyjs/jsonrpc/README.txt
author Edouard Tisserant
Wed, 11 Jun 2014 19:01:17 +0200
changeset 1417 374238039643
parent 728 e0424e96e3fd
permissions -rw-r--r--
Added a variable name text entry dialog to allow name change on drag'n'drops
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