SignalR-Client-Swift icon indicating copy to clipboard operation
SignalR-Client-Swift copied to clipboard

.NET 7 onWithResult response to server

Open haquex19 opened this issue 2 years ago • 1 comments

Starting with .net 7, it is now possible for a server to invoke a method on the client and wait for a response from the client: https://learn.microsoft.com/sv-se/aspnet/core/signalr/hubs?view=aspnetcore-7.0#client-results

This is a handy feature, at least in my case the goal was to use it as an "acknowledgement". If the client acknowledges the message, we can prevent further processing, eg: prevent sending a push notification if we already know the client has handled the message.

This feature seems to already be implemented on the java client which I am using for Android dev. Would love it if this was also being worked on for the swift client so that iOS has parity as well.

haquex19 avatar Jan 29 '23 08:01 haquex19

Thanks for the request. This seems like a decent amount of work so I wouldn't expect this anytime soon.

moozzyk avatar Feb 03 '23 05:02 moozzyk