errbot.core_plugins.wsview module

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

Bases: View

__init__(func, form_param, raw)[source]
dispatch_request(*args, **kwargs)[source]

The actual view function behavior. Subclasses must override this and return a valid response. Any variables from the URL rule are passed as keyword arguments.

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]