69
59
params = CallHookParams(method, args, body, readv_body, self._medium)
70
60
for hook in _SmartClient.hooks['call']:
73
63
def _call_and_read_response(self, method, args, body=None, readv_body=None,
75
65
self._run_call_hooks(method, args, body, readv_body)
76
66
if self._medium._protocol_version is not None:
77
67
response_handler = self._send_request(
78
68
self._medium._protocol_version, method, args, body=body,
80
70
return (response_handler.read_response_tuple(
81
71
expect_body=expect_response_body),