svgui/pyjs/jsonrpc/README.txt
author Edouard Tisserant
Tue, 09 Apr 2019 14:08:44 +0200
changeset 2587 c67488bd8134
parent 728 e0424e96e3fd
permissions -rw-r--r--
Fixed preview drawing/refresh problem in sfc/ld/fbd graphical element creation dialogs on windows (introduced in 9c5f835b031e, continuation of 9622418ac28c)
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