Files
openclaw/src/plugin-sdk/fetch-runtime.ts
T
2026-04-27 20:50:35 +01:00

13 lines
578 B
TypeScript

// Public fetch/proxy helpers for plugins that need wrapped fetch behavior.
export { resolveFetch, wrapFetchWithAbortSignal } from "../infra/fetch.js";
export { withTrustedEnvProxyGuardedFetchMode } from "../infra/net/fetch-guard.ts";
export {
hasEnvHttpProxyConfigured,
resolveEnvHttpProxyUrl,
shouldUseEnvHttpProxyForUrl,
} from "../infra/net/proxy-env.js";
export { getProxyUrlFromFetch, makeProxyFetch } from "../infra/net/proxy-fetch.js";
export { createPinnedLookup } from "../infra/net/ssrf.js";
export type { PinnedDispatcherPolicy } from "../infra/net/ssrf.js";