svgui/pyjs/jsonrpc/README.txt
author Edouard Tisserant
Fri, 02 Feb 2018 16:24:56 +0100
changeset 1924 fc67b02d44e0
parent 728 e0424e96e3fd
permissions -rw-r--r--
More changes in Launcher. Modules to be loaded in the background are given in a list, and assigned as object attributes. Also splitted CreateUI into CloseSplashScreen and CreatueUI.
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