Queries the corelink relay for available functions
        
        
            
    Parameters:
| Name | Type | Description | 
|---|---|---|
workspaces | 
            
            array | an array of workspaces to list streams, omitted or empty array will list all workspaces that a user has access to | 
types | 
            
            array | an array of types of streams to list | 
- Source:
 
Returns:
    with senderStreams and receiverStreams arrays
- Type
 - object