svgui/pyjs/jsonrpc/README.txt
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Fri, 25 May 2018 18:37:59 +0300
changeset 2169 baa0c5111457
parent 728 e0424e96e3fd
permissions -rw-r--r--
fix type introduced by f33942053466 (fix pylint warning "(undefined-loop-variable) Using possibly undefined loop variable 'X'")
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