Пример #1
0
 public void Connect(string host, int port, string handshakeOpts = null)
 {
     PitayaBinding.Connect(_client, host, port, handshakeOpts);
 }
Пример #2
0
        public void Connect(string host, int port, Dictionary <string, string> handshakeOpts)
        {
            var opts = Pitaya.SimpleJson.SimpleJson.SerializeObject(handshakeOpts);

            PitayaBinding.Connect(_client, host, port, opts);
        }
Пример #3
0
 public void Connect(string host, int port)
 {
     PitayaBinding.Connect(_client, host, port);
 }