once in -> once every

This commit is contained in:
joaquinelio 2020-08-22 20:20:05 -03:00 committed by GitHub
parent b85413d0bd
commit a99254f7f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ Being very easy to implement, it's also good enough in a lot of cases.
## Regular Polling ## Regular Polling
The simplest way to get new information from the server is periodic polling. That is, regular requests to the server: "Hello, I'm here, do you have any information for me?". For example, once in 10 seconds. The simplest way to get new information from the server is periodic polling. That is, regular requests to the server: "Hello, I'm here, do you have any information for me?". For example, once every 10 seconds.
In response, the server first takes a notice to itself that the client is online, and second - sends a packet of messages it got till that moment. In response, the server first takes a notice to itself that the client is online, and second - sends a packet of messages it got till that moment.