def set_close_callback(self, callback):
        self._close_callback = stack_context.wrap(callback)
Sets a callback that will be run when the connection is closed.
dataset/ETHPy150Open RobotWebTools/rosbridge_suite/rosbridge_server/src/tornado/http1connection.py/HTTP1Connection.set_close_callback