Fixed WP API

This commit is contained in:
Martin Obrátil 2014-11-11 17:11:31 +01:00
parent afd5f2d36b
commit fd0856db30

View File

@ -21,7 +21,7 @@ namespace Blocshop.ScoketsForCordova
this.socketStorage = SocketStorage.CreateSocketStorage(); this.socketStorage = SocketStorage.CreateSocketStorage();
} }
public void connect(string parameters) public void open(string parameters)
{ {
string socketKey = JsonHelper.Deserialize<string[]>(parameters)[0]; string socketKey = JsonHelper.Deserialize<string[]>(parameters)[0];
string host = JsonHelper.Deserialize<string[]>(parameters)[1]; string host = JsonHelper.Deserialize<string[]>(parameters)[1];