(self, rpc_call_list)
| 151 | return response['result'] |
| 152 | |
| 153 | def batch(self, rpc_call_list): |
| 154 | postdata = self._json_dumps(list(rpc_call_list)) |
| 155 | log.debug("--> " + postdata) |
| 156 | response, status = self._request('POST', self.__url.path, postdata.encode('utf-8')) |
| 157 | if status != HTTPStatus.OK: |
| 158 | raise JSONRPCException({ |
| 159 | 'code': -342, 'message': 'non-200 HTTP status code'}, status) |
| 160 | return response |
| 161 | |
| 162 | def _get_response(self): |
| 163 | req_start_time = time.time() |
nothing calls this directly
no test coverage detected