signalRJS
signalRJS copied to clipboard
Server Methods should not require a response message
SignalR does not require that a response be dispatched on every server method invocation. A server method may be a notification to the server, or a subscription to a future event, without getting a response payload.
However, if a server method does not invoke a response message, an exception is thrown.
TypeError: Cannot read property 'callData' of undefined
at Object.createClientResponse (/myProject/node_modules/signalrjs/lib/hubs/hubFactory.js:73:19)
at /myProject/node_modules/signalrjs/lib/hubs/hubs.js:17:8
at Array.forEach (native)
at Object.parseMessage (/myProject/node_modules/signalrjs/lib/hubs/hubs.js:16:18)
at SignalRJS.hubRoute (/myProject/node_modules/signalrjs/lib/signalRJS.js:154:7)
at /myProject/node_modules/signalrjs/lib/signalRJS.js:191:53
at call (/myProject/node_modules/connect/index.js:239:7)
at next (/myProject/node_modules/connect/index.js:183:5)
at next (/myProject/node_modules/connect/index.js:161:14)
at next (/myProject/node_modules/connect/index.js:161:14)