Skip to content

Commit 20b8cc0

Browse files
Update README.md
1 parent 2d10662 commit 20b8cc0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ const config = {
3939
logLevel: 3, // logLevel that will be used, Options are LogLevel.Error (0), LogLevel.Warn (1), LogLevel.Info (2), LogLevel.Debug (3)
4040
logRequestAndResponseInfo: true, // Toggle logging of the request and response bodies on and off.
4141
logger: myCustomLogger // (OPTIONAL) Custom logger can be passed in that implements the BaseLogger interface (e.g. debug, info, warn, error, and log functions) Otherwise console.log/error etc will be used by default.
42-
}
42+
},
43+
customHttpAgent: new https.Agent({keepAlive: true}) // (OPTIONAL) Define a custom https agent, import https from node to use this constructor. See https://node.readthedocs.io/en/latest/api/https/#https_class_https_agent for more information.
4344
};
4445

4546
const creds = {
@@ -151,4 +152,4 @@ https://github.com/avadev/AvaTax-REST-V2-JS-SDK/blob/master/test/helpers/load_cr
151152
``` bash
152153
# assuming a tag of v17.5.2 and a remote of 'upstream'
153154
git push upstream v17.5.2
154-
```
155+
```

0 commit comments

Comments
 (0)