locked
SignalR Older Version 0.5.3 RRS feed

  • Question

  • User-1086189402 posted

    Hi everyone,

    I'm using VS2010 (.NET Framework 4.0) and SignalR Version 0.5.3.I want to send Message to Groups ?? But unable to send ,have checked different websites and help on it which gave like this 

    Clients.Group(msg.schoolId).GetBroadcastMessage('HI') //which gave me error as Thread Object doesn't contain definition for 'GetBroadcastMessage'.

    How to send message to group in Older Version?? Please Help.

    Thank you.

    Wednesday, January 13, 2016 6:52 AM

Answers

  • User614698185 posted

    Hi uroosa,

    Clients.Group(msg.schoolId).GetBroadcastMessage('HI') //which gave me error as Thread Object doesn't contain definition for 'GetBroadcastMessage'.

    You should check whether you have defined function GetBroadcastMessage:

    chat.client.GetBroadcastMessage = function (mesg) {
          //your code 
    }

    How to send message to group in Older Version??

    You could refer to this tutorial to learn how to use Groups:

    http://www.asp.net/signalr/overview/guide-to-the-api/working-with-groups

    Best Regards,

    Candice Zhou

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, January 14, 2016 3:01 AM