Skip to content

Commit ef84cf3

Browse files
authored
Merge pull request #20 from ryanholte/master
Adds got agent option
2 parents c76b06d + 54e0d36 commit ef84cf3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/api-client.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ class ApiClient {
4646
headers: {'Accept': 'application/json',
4747
'Content-Type': 'application/json',
4848
'User-Agent': 'recombee-node-api-client/4.0.0'},
49-
timeout: request.timeout
49+
timeout: request.timeout,
50+
agent: this.options.agent
5051
};
5152

5253
if (Object.entries(request.bodyParameters()).length > 0)

0 commit comments

Comments
 (0)