def __init__(self, application, request): RequestHandler.__init__(self, application, request) self._current_user = None self.middleware_manager = MiddlewareManager(self) self._is_threaded = False self._is_whirlwind_finished = False self.view = {}
def __init__(self, application, request): WebSocketHandler.__init__(self, application, request) self._current_user = None self.middleware_manager = MiddlewareManager(self) self.db = Mongo.db.ui #@UndefinedVariable #run all middleware request hooks self.middleware_manager.run_request_hooks()
def __init__(self, application, request): RequestHandler.__init__(self, application, request) self._current_user = None self.middleware_manager = MiddlewareManager(self) self._is_threaded = False self._is_whirlwind_finished = False self.view = dotdict() self.db = Mongo.db.ui #@UndefinedVariable