CasperTech / node-metaverse

A node.js interface for Second Life.
MIT License
51 stars 34 forks source link

Make login XML-RPC client respect http_proxy environment variable #51

Closed SaladDais closed 2 years ago

SaladDais commented 2 years ago

Everything else in node-metaverse uses the request library which already respects that env var. The xmlrpc package uses node's http module directly, and needs to be explicitly passed an Agent that understands how to proxy.

The tunnel package I pulled in is mostly the same as the tunnel-agent that request already pulls in, except it has Typescript types provided by DefinitelyTyped.