svgui/pyjs/jsonrpc/README.txt
author Surkov Sergey <surkovsv93@gmail.com>
Mon, 28 Aug 2017 13:43:46 +0300
changeset 1793 c2f48d791d9f
parent 728 e0424e96e3fd
permissions -rw-r--r--
fix bug with unfinished debug thread
this bug occurs when user doesn't stop debugging process in current project, and opens another project
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