svgui/pyjs/jsonrpc/README.txt
author Edouard Tisserant
Fri, 09 Jul 2021 15:47:43 +0200
branchsvghmi
changeset 3271 561dbd1e3e04
parent 728 e0424e96e3fd
permissions -rw-r--r--
SVGHMI: Fixing last commit's multiclient implementation, in case of watchdog. To be continued, since multiclient still fail...
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