MCPcopy Create free account
hub / github.com/forwardemail/superagent / apply

Function apply

src/node/agent.js:176–179  ·  view source on GitHub ↗
(target, thisArgument, argumentsList)

Source from the content-addressed store, hash-verified

174// (for backward compatibility and chaining)
175const proxyAgent = new Proxy(Agent, {
176 apply(target, thisArgument, argumentsList) {
177 // eslint-disable-next-line new-cap
178 return new target(...argumentsList);
179 }
180});
181
182module.exports = proxyAgent;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected