Exemplo n.º 1
0
 public void OnOpen(string url)
 {
     ZLog.I(this, "connect {0}", url);
     _component._text.text = "connected " + url;
     _ws.SendText("hello world");
     throw new Exception("handler null");
 }
Exemplo n.º 2
0
    ////implement WebSocketHandler
    public void OnOpen(string url)
    {
        ZLog.I(this, "connect {0}", url);
        //_component._text.text = "connected "+ url;
        string req = _component.iptFight.text;

        _ws.SendText(req);
        //throw new Exception("handler null");
    }