svgui/pyjs/jsonrpc/README.txt
author Edouard Tisserant
Tue, 26 Mar 2019 11:08:32 +0100
changeset 2558 c9d16163f981
parent 728 e0424e96e3fd
permissions -rw-r--r--
Intermediate merge of wx.NewID_abuse_fix branch but kept debug code in the branch. This is still work in progress, banch is NOT closed.
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