(self, handler)
| 3774 | """ The super hyped asynchronous server by facebook. Untested. """ |
| 3775 | |
| 3776 | def run(self, handler): # pragma: no cover |
| 3777 | import tornado.wsgi, tornado.httpserver, tornado.ioloop |
| 3778 | container = tornado.wsgi.WSGIContainer(handler) |
| 3779 | server = tornado.httpserver.HTTPServer(container) |
| 3780 | server.listen(port=self.port, address=self.host) |
| 3781 | tornado.ioloop.IOLoop.instance().start() |
| 3782 | |
| 3783 | |
| 3784 | class AppEngineServer(ServerAdapter): |