beremiz
Clone
Summary
Browse
Changes
Graph
Fixed bug connector not resetted when connection is lost
2013-05-10, Laurent Bessard
300f98a8d4c6
Fixed bug connector not resetted when connection is lost
from pyjs.jsonrpc import JSONRPCServiceBase
class JSONRPCService(JSONRPCServiceBase):
def serve(self):
return self.process(request.body.read())
def __call__(self,func):
self.methods[func.__name__]=func
return func