svgui/pyjs/jsonrpc/README.txt
author Edouard Tisserant <edouard.tisserant@gmail.com>
Wed, 18 Nov 2020 23:06:16 +0100
changeset 2695 a4704fb40b0b
parent 728 e0424e96e3fd
permissions -rw-r--r--
Project tree: Clicking on ConfigTreeNode should have same behaviour as for POUS and other IEC types : simple click to select and double click to open.
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