TscHubConnection.Send failed with int[] parm

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
oscar
Posts: 1
Joined: Tue 17 Feb 2009 09:14

TscHubConnection.Send failed with int[] parm

Post by oscar » Thu 23 Apr 2020 08:52

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

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: TscHubConnection.Send failed with int[] parm

Post by ViktorV » Thu 23 Apr 2020 14:09

Thank you for the information. The issue and investigation is in progress. We will inform you when we have any results.

oscar
Posts: 1
Joined: Tue 17 Feb 2009 09:14

Re: TscHubConnection.Send failed with int[] parm

Post by oscar » Tue 12 May 2020 07:22

Hi Vic,

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

Thanks, Rj

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: TscHubConnection.Send failed with int[] parm

Post by ViktorV » Fri 22 May 2020 16:46

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.

Post Reply