plugins/python/modules/svgui/pyjs/jsonrpc/README.txt
author Edouard Tisserant
Wed, 15 Feb 2012 16:39:56 +0100
changeset 685 2db8b87016a0
parent 371 b7cb57a2da08
permissions -rw-r--r--
Fixed Win32 timer up to 1ms
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