pelogvc/tor-axios

TypeError: tor.httpAgent is not a function

Closed this issue · 2 comments

httpAgent: tor.httpAgent(),
^

TypeError: tor.httpAgent is not a function

using the axios example

+1
The following works for me:
httpAgent: tor.defaults.httpAgent, httpsAgent: tor.defaults.httpsAgent

thx :)
you can use tor.httpAgent() function.

I just updated 1.0.9.