errbot.core_plugins.wsview module

class errbot.core_plugins.wsview.WebView(func, form_param, raw)[source]

Bases: flask.views.View

__init__(func, form_param, raw)[source]

Initialize self. See help(type(self)) for accurate signature.

dispatch_request(*args, **kwargs)[source]

Subclasses have to override this method to implement the actual view function code. This method is called with all the arguments from the URL rule.

errbot.core_plugins.wsview.reset_app()[source]

Zap everything here, useful for unit tests

errbot.core_plugins.wsview.route(obj)[source]

Check for functions to route in obj and route them.

errbot.core_plugins.wsview.strip_path()[source]
errbot.core_plugins.wsview.try_decode_json(req)[source]