MCPcopy
hub / github.com/claude-code-best/claude-code / getProxyUrl

Function getProxyUrl

src/utils/proxy.ts:64–66  ·  view source on GitHub ↗
(env: EnvLike = process.env)

Source from the content-addressed store, hash-verified

62 * @param env Environment variables to check (defaults to process.env for production use)
63 */
64export function getProxyUrl(env: EnvLike = process.env): string | undefined {
65 return env.https_proxy || env.HTTPS_PROXY || env.http_proxy || env.HTTP_PROXY
66}
67
68/**
69 * Get the NO_PROXY environment variable value

Callers 9

createAxiosInstanceFunction · 0.85
getWebSocketProxyAgentFunction · 0.85
getWebSocketProxyUrlFunction · 0.85
getProxyFetchOptionsFunction · 0.85
configureGlobalAgentsFunction · 0.85
getAWSClientProxyConfigFunction · 0.85
getOTLPExporterConfigFunction · 0.85
execHttpHookFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected