@setupmethod
    def register_blueprint(self, blueprint, **options):
        first_registration = False
        if blueprint.name in self.blueprints:
            assert self.blueprints[blueprint.name] is blueprint, \
                'A blueprint\'s name collision occurred between %r and ' \
                '%r.  Both share the same name "%s".  Blueprints that ' \
                'are created on the fly need unique names.' % \
                (blueprint, self.blueprints[blueprint.name], blueprint.name)
        else:
            self.blueprints[blueprint.name] = blueprint
            first_registration = True
        blueprint.register(self, options, first_registration)
Registers a blueprint on the WebSockets.
dataset/ETHPy150Open zeekay/flask-uwsgi-websocket/flask_uwsgi_websocket/websocket.py/WebSocket.register_blueprint