Closed gregchak closed 3 years ago
Turns out that they are not named parameters. The samples I had looked at made it seem this way. Not seeing the Hub code I didn't see the translation. In the way I was passing param1
in my code, it would have translated to an object with a property named param1
. In reality I should have been calling it like
this.connection.invoke('method', 'test');
Parameter are not named. The call only looks at the method name and parameter types when invoking.
I'm having trouble invoking a Hub method that has parameters. I can invoke a Hub method without parameters successfully, but as soon a I introduce parameters I get these errors in the log
My code is simple: