signalRJS icon indicating copy to clipboard operation
signalRJS copied to clipboard

First sample from "Readme" does not work

Open afluegge opened this issue 8 years ago • 1 comments

I have tried to run the 'peristent connection' sample from the Readme (the first example). I get the error "signalr.send(...) is not a function". After replacing "send" with "broadcast" the sample did work. I am not sure if "broadcast" is the right method to call.

Regards, Andreas

afluegge avatar Apr 24 '17 07:04 afluegge

Looking at the library code. signalRJS.send seems to be removed. As you have said broadcast has been added. However, not sure if the broadcast is correct placement of send. Also, it would be great if we can send the message back only to the just then connected client.

SudhirVeerakamaraj avatar Dec 03 '17 00:12 SudhirVeerakamaraj