_PROXYPREFIX.md (786B)
1 <!-- Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. --> 2 <!-- SPDX-License-Identifier: curl --> 3 # PROXY PROTOCOL PREFIXES 4 The proxy string may be specified with a protocol:// prefix to specify 5 alternative proxy protocols. (Added in 7.21.7) 6 7 If no protocol is specified in the proxy string or if the string does not 8 match a supported one, the proxy is treated as an HTTP proxy. 9 10 The supported proxy protocol prefixes are as follows: 11 ## http:// 12 Makes it use it as an HTTP proxy. The default if no scheme prefix is used. 13 ## https:// 14 Makes it treated as an **HTTPS** proxy. 15 ## socks4:// 16 Makes it the equivalent of --socks4 17 ## socks4a:// 18 Makes it the equivalent of --socks4a 19 ## socks5:// 20 Makes it the equivalent of --socks5 21 ## socks5h:// 22 Makes it the equivalent of --socks5-hostname