xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al. |
| 2 | SPDX-License-Identifier: curl |
| 3 | Long: http3 |
| 4 | Tags: Versions |
| 5 | Protocols: HTTP |
| 6 | Added: 7.66.0 |
| 7 | Mutexed: http1.1 http1.0 http2 http2-prior-knowledge |
| 8 | Requires: HTTP/3 |
| 9 | Help: Use HTTP v3 |
| 10 | See-also: http1.1 http2 |
| 11 | Category: http |
| 12 | Example: --http3 $URL |
| 13 | Multi: mutex |
| 14 | Experimental: yes |
| 15 | --- |
| 16 | Tells curl to use HTTP version 3 directly to the host and port number used in |
| 17 | the URL. A normal HTTP/3 transaction will be done to a host and then get |
| 18 | redirected via Alt-Svc, but this option allows a user to circumvent that when |
| 19 | you know that the target speaks HTTP/3 on the given host and port. |
| 20 | |
| 21 | This option will make curl fail if a QUIC connection cannot be established, it |
| 22 | cannot fall back to a lower HTTP version on its own. |