By Guest on Tuesday, 28 March 2023
Posted in General
Replies 5
Likes 0
Views 1.1K
Votes 0
Hi,

Is it possible to send objects as parameter?
Or the json corresponding to the object that receives a method from the hub

I attach example projects.

Kind Regards,
Miguel
Hello,

Could you attach the example? I don't see in the post.

Kind Regards,
Sergio
·
1 year ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Attachments.
·
1 year ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Yes, you can use the following methods


SignalRCore.Invoke('method', ['']);
SignalRCore.Invoke('methodWithObject', ['{"code":"2354"}']);


The second won't work with the trial because there was a little problem parsing the json object. I've fixed for the next release. Meanwhile you can download your compiled project from:

https://www.esegece.com/download/samples/Signalrcore_exe.zip

Kind Regards,
Sergio
·
1 year ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sergio.

I have tested the exe and its working

Waiting for the new release.

Thanks so much.
·
1 year ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

A new version has just been released.

Kind Regards,
Sergio
·
1 year ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post