SignalR 发送与调用
SignalR send vs invoke
使用 javascript 客户端,我可以使用
connection.invoke("SendMessage", user, message)
或
connection.send("Send", message);
两者有什么区别?什么时候使用每个?
作为附带问题,SignalR javascript API 记录在哪里?我能找到的只有 this
使用 javascript 客户端,我可以使用
connection.invoke("SendMessage", user, message)
或
connection.send("Send", message);
两者有什么区别?什么时候使用每个?
作为附带问题,SignalR javascript API 记录在哪里?我能找到的只有 this