beremiz

More canonical test.

2018-04-16, Edouard Tisserant
9b5c712f4488
More canonical test.
There is an exception happening around here in some cases when connection is dropped while waiting for answer. Not sure that this fixes it but this is anyhow better.
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