svgui/pyjs/jsonrpc/README.txt
author Surkov Sergey <surkovsv93@gmail.com>
Mon, 06 Feb 2017 20:30:39 +0300
changeset 1653 d98cc9d19a5c
parent 728 e0424e96e3fd
permissions -rw-r--r--
fix SFC Step flush method
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