SocketCluster/socketcluster-client

How to use "subscribeWildcard" instead of "subscribe" ?

sahul360 opened this issue · 1 comments

I am always getting error while using the things like below

const socket = socketCluster.connect({ /* socketCluster configuration */ });

socket.subscribeWildcard('my-channel.*').watch((data) => {
console.log('Received data on wildcard channel', data);
});

error : TypeError: socket.subscribeWildcard is not a function

subscribeWildcard doesn't exist. All methods are listed here.