beremiz
Clone
Summary
Browse
Changes
Graph
modbus extension code cleanup, from smarteh's patch
2018-01-30, Edouard Tisserant
338e2f51b685
modbus extension code cleanup, from smarteh's patch
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