svgui/pyjs/jsonrpc/README.txt
author Edouard Tisserant
Tue, 23 Jun 2020 13:50:21 +0200
branchsvghmi
changeset 2987 d3fe41f4a070
parent 728 e0424e96e3fd
permissions -rw-r--r--
Modbus add a timer thread, and switch timer to SIGEV_THREAD_ID to follow xenomai posix skin restrictions.
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