Basically, I have a server and a mobile application . The mobile application subscribes to events from the server . The server than publishes events for all subscribers after some time (yup, good old publish / subscribe ).
The fact is that the server uses HTTP to send notifications . Therefore, I need in my application something like an HTTP server to process these requests asynchronously (i.e. without any special initial request).
Are there any means? I am thinking of creating a Socket and listening, but here there is the problem of converting HTTP from Socket data. I already read some questions around StackOverflow , but none of them point to the same problem directly. Or am I missing something? In any case, help is greatly appreciated and appreciated.
source
share