public override IGameSparksWebSocket GetSocket(string url, Action<string> messageReceived, Action closed, Action opened, Action<string> error)
 {
     var socket = new IOSWebSocket();
     socket.Initialize(url, messageReceived, closed, opened, error);
     socket.SetController(webSocketController);
     socket.Open();
     return socket;
 }
Exemplo n.º 2
0
        public override IGameSparksWebSocket GetSocket(string url, Action <string> messageReceived, Action closed, Action opened, Action <string> error)
        {
            var socket = new IOSWebSocket();

            socket.Initialize(url, messageReceived, closed, opened, error);
            socket.SetController(webSocketController);
            socket.Open();
            return(socket);
        }