Page 1 of 1

TscHubConnection.Send failed with int[] parm

Posted: Thu 23 Apr 2020 08:52
by oscar
Hi All,

In our hub implementation, we have a method:

public async Task AcknowledgeSystemMessages(int[] msgIds)
{
..
}

From a javascript client everything works as expected.
From (for example) MyConnection.Send('AcknowledgeSystemMessages'. ['[1,2,3]']); the server method never gets executed.
Can TscHubConnection handle int[] parm?

Tia, Rj

Re: TscHubConnection.Send failed with int[] parm

Posted: Thu 23 Apr 2020 14:09
by ViktorV
Thank you for the information. The issue and investigation is in progress. We will inform you when we have any results.

Re: TscHubConnection.Send failed with int[] parm

Posted: Tue 12 May 2020 07:22
by oscar
Hi Vic,

Couple of weeks has been passed, can you give us a status update regarding this issue?

Thanks, Rj

Re: TscHubConnection.Send failed with int[] parm

Posted: Fri 22 May 2020 16:46
by ViktorV
We've added the methods for properly handling arrays in TScHubConnection: TScHubConnection.RegisterArr, TScHubConnection.InvokeArr, TScHubConnection.SendArr.
The changes will be included in the next build of SecureBridge.