Module with functions for working with internet related things.

Addresses

For example it can show:

  • IP address, use:
\Lib\Net\Addresses::clientIP();
  • page URL, use:
\Lib\Net\Addresses::pageURL();

Transfer

Method download downloads a file from web.

Examples

Your IP address: 3.238.199.4
This page URL: https://hermajan.net:443/lib/net