code: def _reconnect_handler(self):
          
          for channel_name, channel in self.channels.items():
              data = {'channel': channel_name}
  
              if channel.auth:
                  data['auth'] = channel.auth
  
              self.connection.send_event('pusher:subscribe', data)
docs: Handle a reconnect.