Kong / Kong/unirest-nodejs

Set specific agent per request

Open
#131 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
953
Forks
164
PR merge metrics
No merged PRs in 30d

Description

Is there any way to set a specific http/https Agent for each instance of unirest? I don't see anything in the documentation. I saw the prior issue about setting http.globalAgent, but I'm wondering if there's a way that it can be customized at the request level?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the existing documentation and the request API to see how HTTP and HTTPS agents are currently selected. Compare the request-level behavior with the documented http.globalAgent approach. Done means a specific agent can be supplied for an individual request or instance, with the behavior documented and verified by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.