6 Both client and server has ability to show statistics about known
7 connected peers. You retrieve them by downloading JSON from built-in
8 background HTTP-server. You can enable it by specifying
9 @code{-stats host:port} argument.
11 Actually it is not full-fledged HTTP-server: it just accepts connection,
12 reads from it (does not parse anything) and writes dummy headers with
16 % govpn-server [...] -stats "[::1]:5678"
17 % curl http://localhost:5678/ | jq .
27 "IP": "fe80::221:ccff:feb9:ba7f"
30 "LastPing": "2015-04-30T22:05:49.426616166+03:00",
31 "LastSent": "2015-04-30T22:05:49.426704138+03:00",