svgui/pyjs/jsonrpc/README.txt
author Edouard Tisserant
Thu, 12 Apr 2018 22:20:38 +0200
changeset 1984 081265cda5b1
parent 728 e0424e96e3fd
permissions -rw-r--r--
Intermediate state while implementing runtime worker to ensure that PLCObject Load and Unload methods always run main thread.
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