How to access:

navigator.connection

Attributes:

  • .downloadlink - bandwith speed in megabits/s.
  • .effectiveType - effective type such as "3f".
  • .rtt - effective round-trip time.

Resources