ProxyConfig(; http=nothing, https=nothing, all=nothing, no_proxy=nothing, env=false)</code></pre><p>HTTP client proxy configuration.</p><p>Use this to route plain HTTP, HTTPS, or all traffic through explicit proxy targets, optionally with <code>NoProxy</code> exclusions or environment-driven defaults. Proxy URLs support <code>http://</code>, <code>https://</code> parsing for future compatibility (<code>https://</code> proxy transport is not implemented yet), and SOCKS5 proxy transport with <code>socks5://</code> or <code>socks5h://</code>. As in Go's <code>net/http</code> transport, <code>socks5://</code> and <code>socks5h://</code> both send domain targets to the SOCKS proxy instead of resolving them locally.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/JuliaWeb/HTTP.jl/blob/3062a3eaa4e96f830d9145020a410ad7650989f3/src/http_proxy.jl#L50-L63">source</a></section></details></article><article><details class="docstring" open="true"><summary id="HTTP.ProxyURL"><a class="docstring-binding" href="#HTTP.ProxyURL"><code>HTTP.ProxyURL</code></a> — <span class="docstring-category">Function</span></summary><section><div><pre><code class="language-julia hljs">ProxyURL(url; no_proxy=nothing) -> ProxyConfig</code></pre><p>Convenience constructor for a single proxy URL applied to all outbound requests. Supported proxy URL schemes are <code>http://</code>, <code>https://</code> (parsed but not yet dialed as a TLS proxy), <code>socks5://</code>, and <code>socks5h://</code>.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/JuliaWeb/HTTP.jl/blob/3062a3eaa4e96f830d9145020a410ad7650989f3/src/http_proxy.jl#L438-L444">source</a></section></details></article><article><details class="docstring" open="true"><summary id="HTTP.ProxyFromEnvironment"><a class="docstring-binding" href="#HTTP.ProxyFromEnvironment"><code>HTTP.ProxyFromEnvironment</code></a> — <span class="docstring-category">Function</span></summary><section><div><pre><code class="language-julia hljs">ProxyFromEnvironment() -> ProxyConfig</code></pre><p>Load proxy configuration from the standard <code>HTTP_PROXY</code>, <code>HTTPS_PROXY</code>, <code>ALL_PROXY</code>, and <code>NO_PROXY</code> environment variables. Proxy values may use the same schemes accepted by <code>ProxyURL</code>, including <code>socks5://</code> and <code>socks5h://</code>.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/JuliaWeb/HTTP.jl/blob/3062a3eaa4e96f830d9145020a410ad7650989f3/src/http_proxy.jl#L449-L455">source</a></section></details></article><article><details class="docstring" open="true"><summary id="HTTP.NoProxy"><a class="docstring-binding" href="#HTTP.NoProxy"><code>HTTP.NoProxy</code></a> — <span class="docstring-category">Type</span></summary><section><div><pre><code class="language-julia hljs">NoProxy(spec)
0 commit comments