def receiver_blueprint_for(self, name):
<EOL>provider = self.get_provider(name)<EOL>bp = provider.make_receiver_blueprint()<EOL>from flask.globals import g  <EOL>@bp.before_request<EOL>def init_g():<EOL><INDENT>g.provider = provider<EOL><DEDENT>return bp<EOL>
Get a Flask blueprint for the named provider that handles incoming messages & status reports

            Note: this requires Flask microframework.

            :rtype: flask.blueprints.Blueprint
            :returns: Flask Blueprint, fully functional
            :raises KeyError: provider not found
            :raises NotImplementedError: Provider does not implement a receiver