File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ const cacheForGET = new SafeMap();
4747/** @type {import('https').Agent } The Cached HTTP Agent for **secure** HTTP requests. */
4848let HTTPSAgent ;
4949/**
50- * Make a **secure** HTTP GET request (handling agent setup if needed, caching the agent to avoid
50+ * Make a HTTPs GET request (handling agent setup if needed, caching the agent to avoid
5151 * redudant instantiations).
5252 * @param {Parameters<import('https').get>[0] } input - The URI to fetch.
5353 * @param {Parameters<import('https').get>[1] } options - See https.get() options.
@@ -66,10 +66,10 @@ function HTTPSGet(input, options) {
6666/** @type {import('https').Agent } The Cached HTTP Agent for **insecure** HTTP requests. */
6767let HTTPAgent ;
6868/**
69- * Make a **insecure** HTTP GET request (handling agent setup if needed, caching the agent to avoid
69+ * Make a HTTP GET request (handling agent setup if needed, caching the agent to avoid
7070 * redudant instantiations).
71- * @param {Parameters<import('https ').get>[0] } input - The URI to fetch.
72- * @param {Parameters<import('https ').get>[1] } options - See http.get() options.
71+ * @param {Parameters<import('http ').get>[0] } input - The URI to fetch.
72+ * @param {Parameters<import('http ').get>[1] } options - See http.get() options.
7373 */
7474function HTTPGet ( input , options ) {
7575 const http = require ( 'http' ) ; // [1]
You can’t perform that action at this time.
0 commit comments