Represents a single remote connection found via ActionCable.server.remote_connections.where(*). Exists solely for the purpose of calling disconnect on that connection.
     
  
  
  
  
  
    
    Namespace
    
  
  
    
    Methods
    
      
        - D
- 
          
        
- N
- 
          
        
Attributes
      
    
    
    
      Class Public methods
      
        
          
            
              new(server, ids)
            
            Link
          
          
            
              
            
          
          
          
          
            
            
              
              
                 Source: 
                
                  show
                
                 | 
                
                  on GitHub
                
              
              
                
def initialize(server, ids)
  @server = server
  set_identifier_instance_vars(ids)
end
               
             
            
           
        
      
    
      Instance Public methods
      
        
          
            
              disconnect(reconnect: true)
            
            Link
          
          
            
              Uses the internal channel to disconnect the connection.
             
          
          
          
          
            
            
              
              
                 Source: 
                
                  show
                
                 | 
                
                  on GitHub
                
              
              
                
def disconnect(reconnect: true)
  server.broadcast internal_channel, { type: "disconnect", reconnect: reconnect }
end