We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bf0120 commit e02ed8cCopy full SHA for e02ed8c
README.md
@@ -25,10 +25,10 @@ const client = httpClient.extend({headers});
25
import {Agent} from 'https';
26
import {httpClient} from '@digitalbazaar/http-client';
27
28
-const httpsAgent = new https.Agent({rejectUnauthorized: false});
29
-const client = httpClient.extend({headers, httpsAgent});
+const agent = new https.Agent({rejectUnauthorized: false});
+const client = httpClient.extend({headers, agent});
30
31
-// subsequent http calls will use the provided httpsAgent
+// subsequent http calls will use the provided https Agent
32
```
33
34
#### GET a JSON response in the browser
0 commit comments