Skip to content
This repository has been archived by the owner on Nov 23, 2018. It is now read-only.

Connection profiles #5

Open
benschwarz opened this issue Apr 28, 2017 · 0 comments
Open

Connection profiles #5

benschwarz opened this issue Apr 28, 2017 · 0 comments

Comments

@benschwarz
Copy link
Member

benschwarz commented Apr 28, 2017

Support parsing a file with this format and a specific profile name, as well as taking the param options directly.

[
  {
    "title": "GPRS",
    "download": 6400,
    "upload": 2560,
    "latency": 500
  },
  {
    "title": "Regular 2G",
    "download": 32000,
    "upload": 6400,
    "latency": 300
  },
  {
    "title": "Good 2G",
    "download": 57600,
    "upload": 19200,
    "latency": 150
  },
  {
    "title": "Regular 3G",
    "download": 96000,
    "upload": 32000,
    "latency": 100
  },
  {
    "title": "Good 3G",
    "download": 196608,
    "upload": 96000,
    "latency": 40
  },
  {
    "title": "Emerging Markets 3G",
    "download": 400000,
    "upload": 400000,
    "latency": 400
  },
  {
    "title": "Regular 4G",
    "download": 524288,
    "upload": 393216,
    "latency": 20
  },
  {
    "title": "DSL",
    "download": 262144,
    "upload": 131072,
    "latency": 5
  },
  {
    "title": "WiFi",
    "download": 3932160,
    "upload": 1966080,
    "latency": 2
  }
]
This was referenced May 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant