← Transport | Proxy (中文) | Timeouts →
Default
- No proxy
const client = new ECSClient({
region: "cn-beijing",
httpOptions: {
proxy: {
protocol: "http",
host: "127.0.0.1",
port: 8888,
},
},
});The SDK reads the following environment variables:
VOLC_PROXY_PROTOCOL: Proxy protocol (httporhttps)VOLC_PROXY_HOST: Proxy hostVOLC_PROXY_PORT: Proxy port
Priority: Code configuration > environment variables.
← Transport | Proxy (中文) | Timeouts →