Skip to content

Commit e02ed8c

Browse files
authored
Update README.md.
1 parent 6bf0120 commit e02ed8c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ const client = httpClient.extend({headers});
2525
import {Agent} from 'https';
2626
import {httpClient} from '@digitalbazaar/http-client';
2727

28-
const httpsAgent = new https.Agent({rejectUnauthorized: false});
29-
const client = httpClient.extend({headers, httpsAgent});
28+
const agent = new https.Agent({rejectUnauthorized: false});
29+
const client = httpClient.extend({headers, agent});
3030

31-
// subsequent http calls will use the provided httpsAgent
31+
// subsequent http calls will use the provided https Agent
3232
```
3333

3434
#### GET a JSON response in the browser

0 commit comments

Comments
 (0)