Methods
generateConnectionContextHash(context) → {string}
Takes the provided context object and returns base64 encoded representation of that object
Parameters:
| Name | Type | Description | 
|---|---|---|
context | 
        
        object | 
           Context to encode  | 
      
- Source:
 
generateConnectionContextString(context) → {string}
Takes the provided context object and returns a string representation of that object
Parameters:
| Name | Type | Description | 
|---|---|---|
context | 
        
        object | 
           Context to stringify  | 
      
- Source:
 
generateConnectionId(namespace, context) → {string}
Takes the namespace and context object creates a unique id based on that data
Parameters:
| Name | Type | Description | 
|---|---|---|
namespace | 
        
        string | 
           Namespace of the connection  | 
      
context | 
        
        object | 
           Context to stringify  | 
      
- Source: