return value to the output
(self, data)
| 254 | return |
| 255 | |
| 256 | def ret_value(self, data): |
| 257 | """return value to the output""" |
| 258 | data = json.dumps(data) |
| 259 | self.write_message(struct.pack("<i", len(data)), binary=True) |
| 260 | self.write_message(data.encode("utf-8"), binary=True) |
| 261 | |
| 262 | def call_handler(self, args): |
| 263 | """Event handler when json request arrives.""" |
no test coverage detected