(options, noJSON = false)
| 22 | } |
| 23 | |
| 24 | function get(options, noJSON = false) { |
| 25 | return new Promise((resolve, reject) => { |
| 26 | https.get(options, makeCallback(resolve, reject, noJSON)).on('error', reject); |
| 27 | }); |
| 28 | } |
| 29 | |
| 30 | function request(options, postData) { |
| 31 | return new Promise((resolve, reject) => { |
nothing calls this directly
no test coverage detected