quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

preproxy.md (1078B)


      1 ---
      2 c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
      3 SPDX-License-Identifier: curl
      4 Long: preproxy
      5 Arg: <[protocol://]host[:port]>
      6 Help: Use this proxy first
      7 Added: 7.52.0
      8 Category: proxy
      9 Multi: single
     10 See-also:
     11   - proxy
     12   - socks5
     13 Example:
     14   - --preproxy socks5://proxy.example -x http://http.example $URL
     15 ---
     16 
     17 # `--preproxy`
     18 
     19 Use the specified SOCKS proxy before connecting to an HTTP or HTTPS --proxy. In
     20 such a case curl first connects to the SOCKS proxy and then connects (through
     21 SOCKS) to the HTTP or HTTPS proxy. Hence pre proxy.
     22 
     23 The pre proxy string should be specified with a protocol:// prefix to specify
     24 alternative proxy protocols. Use socks4://, socks4a://, socks5:// or
     25 socks5h:// to request the specific SOCKS version to be used. No protocol
     26 specified makes curl default to SOCKS4.
     27 
     28 If the port number is not specified in the proxy string, it is assumed to be
     29 1080.
     30 
     31 User and password that might be provided in the proxy string are URL decoded
     32 by curl. This allows you to pass in special characters such as @ by using %40
     33 or pass in a colon with %3a.