Send an HTTP GET every minute.
English | 简体中文
On some networks (e.g. hotspots), it will disconnect if there are no network requests for a period of time.
Therefore, the program sends an HTTP GET every minute to keep the network alive.
$ ./loop-http-get
1 GET http://rust-lang.org