CURLOPT_H3 - specify HTTP/3 protocol behavior
SYNOPSIS#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_H3, long bitmask);
EXPERIMENTALWarning: this feature is early code and is marked as experimental. It can only be enabled by explicitly invoking configure with --with-quiche or --with-ngtcp2. You are advised to not ship this feature used in production before the experimental label is removed.
DESCRIPTIONThis function accepts a long bitmask with a set of flags set that controls the HTTP/3 behavior for this transfer.
DEFAULT PROTOCOLS EXAMPLECURL *curl = curl_easy_init(); if(curl) { CURLcode ret; curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/"); curl_easy_setopt(curl, CURLOPT_H3, (long)0); ret = curl_easy_perform(curl); }AVAILABILITY RETURN VALUE
Returns CURLE_OK if supported, an error otherwise.
SEE ALSOThis HTML page was made with roffit.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3