Open bizmonger opened 3 years ago
Your function is not correct to handle message. You need to add a function with SignalRTrigger
to handle connection.InvokeAsync("JoinGroup", sessionId)
Please refer document https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-signalr-service-trigger?tabs=csharp and sample https://github.com/aspnet/AzureSignalR-samples/tree/main/samples/BidirectionChat
and please set the upstream correctly.
You mean do this?
connection.InvokeAsync("JoinGroupFn", sessionId)
Calling InvokeAsync on a connection hangs.
I'm referencing the following document to configure a group connection in Azure SignalR.
Client:
Server: Azure Function
Server: Hub