svgui/pyjs/jsonrpc/README.txt
author Edouard Tisserant
Tue, 26 Mar 2019 09:43:51 +0100
branchwx.NewID_abuse_fix
changeset 2556 f07d389772fd
parent 728 e0424e96e3fd
permissions -rw-r--r--
Continued wx.NewID abuse removal in Viewer.py : get rid of one call to AppendMenu method, having no real purpose apparently. To be continued.
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