quickjs-tart

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

proto-default.md (635B)


      1 ---
      2 c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
      3 SPDX-License-Identifier: curl
      4 Long: proto-default
      5 Help: Use PROTOCOL for any URL missing a scheme
      6 Arg: <protocol>
      7 Added: 7.45.0
      8 Category: connection curl
      9 Multi: single
     10 See-also:
     11   - proto
     12   - proto-redir
     13 Example:
     14   - --proto-default https ftp.example.com
     15 ---
     16 
     17 # `--proto-default`
     18 
     19 Use *protocol* for any provided URL missing a scheme.
     20 
     21 An unknown or unsupported protocol causes error *CURLE_UNSUPPORTED_PROTOCOL*.
     22 
     23 This option does not change the default proxy protocol (http).
     24 
     25 Without this option set, curl guesses protocol based on the hostname, see
     26 --url for details.