Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serverless SignalR #10

Closed
Durkee opened this issue Apr 22, 2020 · 2 comments
Closed

Serverless SignalR #10

Durkee opened this issue Apr 22, 2020 · 2 comments

Comments

@Durkee
Copy link

Durkee commented Apr 22, 2020

First, thank you for the dart code.

Questions:
Will this work with "Serverless" Azure (i.e. without a hub)? This link talks about the different modes:
https://github.com/Azure/azure-signalr/blob/dev/docs/faq.md#service-mode

I noticed we were lacking a sample project. I need to know how to send my UserId and Target so i get only my messages. https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-signalr-service-output?tabs=csharp

@jamiewest
Copy link
Owner

This should work with the Azure SignalR Service but I have not had a chance to test it. The reason I say it should work is that it is a very close replica of the typescript client. I very much want to test and confirm this use case but I am currently waiting on PR to be published before focusing on anything else.

Regarding the UserId and Target, these are arguments on a method that would be setup in the Hub. This library would invoke that method by passing the UserId and Target. The old SignalR would allow a proxy to the Hub on the connection object, but this isn't in the new version of SignalR.

@Durkee
Copy link
Author

Durkee commented Apr 30, 2020

@jamiewest Thank you for the reply. When I get time I will try it out with Azure SignalR (Serverless)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants