0

I've this scenario

public async Task Run([ServiceBusTrigger("chat", "trataLikes", Connection = "ServiceBusConn")] string mySbMsg,
            [SignalR(HubName = "{some variable or a json value from the message}")] ICollector<SignalRMessage> signalRMessages)
        {
}

The hubname is a json property that will come inside the message...So, I will receive something like...

{
   "id" : "123",
   "hubName" : "RedHub"
}

And I'd like to bound the bindings on the signalR parameter...any clue ?

Marco Jr
  • 6,496
  • 11
  • 47
  • 86

0 Answers0