M
M
Maxim Globak2015-09-01 19:10:23
Objective-C
Maxim Globak, 2015-09-01 19:10:23

How to set up receiving data from the site without a request?

I can not find information about how I should receive server information in a stream or by events on the server.
For example, I need to receive data from the server several times a day and process this data immediately in the application.
The option to receive push notifications, then go into the application to send a rest request and receive a response in the form of json does not seem right to me. How can I make sure that the server immediately sends the necessary json with data and the application receives it in the background (if possible) and processes it?
Thanks for the tips and answers

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladislav, 2015-09-02
@maximglobak

Try looking at firebase.
Or look at websockets. If I understand you correctly.

M
Maxim Globak, 2015-09-02
@maximglobak

Thanks, Websocket is what you need

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question