svgui/pyjs/jsonrpc/README.txt
author Edouard Tisserant
Mon, 17 Mar 2014 16:16:06 +0100
changeset 1399 4c130dba8366
parent 728 e0424e96e3fd
permissions -rw-r--r--
Changed python_gear ratio type from USINT to UINT, less restrictive regarding range
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