You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I modified the sample to the following snippet, and it worked:
[Function(nameof(Negotiate))]publicstaticIActionResultNegotiate([HttpTrigger(AuthorizationLevel.Anonymous)]HttpRequestreq,[SignalRConnectionInfoInput(HubName="serverless")]stringconnectionInfo)=>// The serialization of the connection info object is done by the framework. It should be camel case. The SignalR client respects the camel case response only.newContentResult{ContentType="application/json",Content=connectionInfo};
The text was updated successfully, but these errors were encountered:
In the following sample code, there seems to be a mistake. When I implemented and ran it, I received an empty response.
https://github.com/Azure/azure-functions-dotnet-worker/blob/main/samples/Extensions/SignalR/SignalRNegotiationFunctions.cs#L12-L20
I modified the sample to the following snippet, and it worked:
The text was updated successfully, but these errors were encountered: