DEV Community

Discussion on: SignalR core python client: A simple Chat Hub Client

Collapse
sebastianeberl6 profile image
Sebastian Eberl

Hello! I have the following problem:
On the server side I have defined a hub method -> Subscribe(long[] ids)
I wanted to call this method with hub_connection.send("Subscribe", [2312, 12312])
But json transforming the decimal value automatically into strings, so I defined a new method with Subscribe1(string[] ids) and calling it with hub_connection.send("Subscribe", ["2312", "12312"]) but again the it says: InvalidDataException: Error binding arguments. Make sure that the types of the provided values match the types of the hub method being invoked
Do you have any Ideas?