svgui/pyjs/jsonrpc/README.txt
author Edouard Tisserant
Thu, 17 May 2018 09:33:14 +0200
branch#2476
changeset 2009 00faf9279dc0
parent 728 e0424e96e3fd
permissions -rw-r--r--
close branch #2476 - URI dialog fixed
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