| Home | Trees | Indices | Help |
|---|
|
|
object --+
|
External
simple class to handle an external
ans send the response.
example:
from couchdbkit.external import External
from couchdbkit.utils import json
class Test(External):
def handle_line(self, line):
self.send_response(200,
"got message external object %s" % json.dumps(line),
{"Content-type": "text/plain"})
if __name__ == "__main__":
Test().run()
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see help(type(x)) for signature
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Fri May 4 11:48:40 2012 | http://epydoc.sourceforge.net |