svgui/pyjs/jsonrpc/README.txt
author Edouard Tisserant
Tue, 30 Mar 2021 14:54:43 +0200
branchsvghmi
changeset 3211 938b55abe946
parent 728 e0424e96e3fd
permissions -rw-r--r--
SVGHMI: Implemented "Add Font" and "Remove Font", add font embedding in CSS at build time, tested ok with some OTF for now.
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