svgui/pyjs/jsonrpc/README.txt
author Edouard Tisserant
Thu, 11 Jan 2018 15:39:58 +0100
changeset 1900 9d1547578f55
parent 728 e0424e96e3fd
permissions -rw-r--r--
runtime/WAMP: Fixed secret loading into configuration. Fixed secret commandline switch handling.
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