Replies: 1 comment
-
has any way? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am wondering if there is any way to set the agent (http/https/socks) in relation with the client ip address.
function createAgent(req) {
const ip = req.headers['x-real-ip']
const proxy = getClientProxy(ip) // get client specific proxy from database
return new HttpsProxyAgent(proxy)
}
Beta Was this translation helpful? Give feedback.
All reactions