You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try a lot to connect with meteor apps using this package. But there is no way to understand what about the connection is work or not. Even no error, no message. following my code:
[class MainClass
{
public static void Main(string[] args)
{
IDataSubscriber subscriber = new Subscriber();
DDPClient client = new DDPClient(subscriber);
client.Connect("localhost:3000");
// or if you want to connect over SSL
// client.Connect("localhost:3000", true);
// or if you prefer a more explicit approach
// client.Connect("localhost:3000", useSsl: true);
client.Subscribe("findproducts");
}
class Subscriber : IDataSubscriber
{
string IDataSubscriber.Session
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
public void DataReceived(dynamic data)
{
Console.WriteLine(data);
if (data.type == "subs")
{
Console.WriteLine(data.prodCode + ": " + data.prodName + ": collection: " + data.collection);
}
}
//void IDataSubscriber.DataReceived(dynamic data)
//{
// Console.WriteLine(data);
// throw new NotImplementedException();
//}
}](url)
I realy upset after spending couple of hours. :( ++
The text was updated successfully, but these errors were encountered:
I try a lot to connect with meteor apps using this package. But there is no way to understand what about the connection is work or not. Even no error, no message. following my code:
[class MainClass
{
public static void Main(string[] args)
{
IDataSubscriber subscriber = new Subscriber();
DDPClient client = new DDPClient(subscriber);
I realy upset after spending couple of hours. :( ++
The text was updated successfully, but these errors were encountered: