def METHOD_NAME(self):
    logging.debug(f'Sending a session list update to {self.name}')
    self.stream.send({
        'type': 'session-list',
        'data': {key:session.serialize() for key,session in self.gateway_middleware.sessions.items()},
    })