restup
restup copied to clipboard
Using SocketActivityTrigger to make it work in the background
Should it not be possible to make it run in the background to receive requests and respond correspondingly even after the app is closed?
As described here, a background task with SocketActivityTrigger has to be created and the socket ownership of StreamSocketListener has to be transferred to the socket broker so that the background task is triggered when a request comes.
I tried but I couldn't make it work!