50
53
encoder.call(method, *args)
56
def _run_call_hooks(self, method, args, body, readv_body):
59
params = CallHookParams(method, args, body, readv_body)
53
63
def _call_and_read_response(self, method, args, body=None, readv_body=None,
54
64
expect_response_body=True):
65
self._run_call_hooks(method, args, body, readv_body)
55
66
if self._medium._protocol_version is not None:
56
67
response_handler = self._send_request(
57
68
self._medium._protocol_version, method, args, body=body,