Reputation: 1045
I am Newbie to SocketCluster i had install the socketcluster with help of link
I am able to communicate with server through browser console as given in above link.But i want the python as client.
So for this i try using SocketIO pacakage. Following is my code
from socketIO_client import SocketIO
with SocketIO('localhost', 8000) as socketIO:
socketIO.emit("ping", {message: ' object with a message property'})
But i am getting error as
No handlers could be found for logger "socketIO_client"
So i want to know how to communicate with SocketCluster server with python as client
Upvotes: 1
Views: 1527
Reputation: 1314
The Socket.io client is not protocol-compatible with the SocketCluster server. SC sockets do share a similar API as Socket.io though. There is no Python client for SC at the moment.
Upvotes: 3