Browse code
added a defer() method to eventhandler and worked out bugs
Ed L authored on 20/10/2011 19:37:56
Showing 1 changed files
Showing 1 changed files
... | ... |
@@ -59,6 +59,7 @@ class ExampleServer(ServerEvents): |
59 | 59 |
# helper methods |
60 | 60 |
methods = set(['add', 'subtract']) |
61 | 61 |
def _get_msg(self, response): |
62 |
+ print('response', repr(response)) |
|
62 | 63 |
return ' '.join(str(x) for x in [response.id, response.result or response.error]) |
63 | 64 |
|
64 | 65 |
def subtract(self, a, b): |