SendMessage is now Json
This commit is contained in:
@@ -35,7 +35,7 @@ namespace PolyChat.Models
|
||||
Socket = socket;
|
||||
Socket.On(SocketIOEvent.DISCONNECT, OnDisconnect);
|
||||
Socket.On(SocketIOEvent.ERROR, (JToken[] Data) => OnError(Data));
|
||||
Socket.On("message", (Action<JToken[]>)onMessage);
|
||||
Socket.On("message", (Action<JToken[]>) onMessage);
|
||||
|
||||
//we are connected if we got here, inital packet was already received
|
||||
Connected = true;
|
||||
|
||||
Reference in New Issue
Block a user