svgui/pyjs/jsonrpc/README.txt
author Edouard Tisserant
Mon, 26 Nov 2018 15:12:18 +0100
changeset 2460 89abeece2c71
parent 728 e0424e96e3fd
permissions -rw-r--r--
Fixed ID,last URI, or last connection date not being updated when connnecting to target.
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