113498266Sopenharmony_ci--- 213498266Sopenharmony_cic: Copyright (C) Daniel Stenberg, <daniel.se>, et al. 313498266Sopenharmony_ciSPDX-License-Identifier: curl 413498266Sopenharmony_ciTitle: curl_easy_setopt 513498266Sopenharmony_ciSection: 3 613498266Sopenharmony_ciSource: libcurl 713498266Sopenharmony_ciSee-also: 813498266Sopenharmony_ci - curl_easy_cleanup (3) 913498266Sopenharmony_ci - curl_easy_getinfo (3) 1013498266Sopenharmony_ci - curl_easy_init (3) 1113498266Sopenharmony_ci - curl_easy_option_by_id (3) 1213498266Sopenharmony_ci - curl_easy_option_by_name (3) 1313498266Sopenharmony_ci - curl_easy_option_next (3) 1413498266Sopenharmony_ci - curl_easy_reset (3) 1513498266Sopenharmony_ci - curl_multi_setopt (3) 1613498266Sopenharmony_ci--- 1713498266Sopenharmony_ci 1813498266Sopenharmony_ci# NAME 1913498266Sopenharmony_ci 2013498266Sopenharmony_cicurl_easy_setopt - set options for a curl easy handle 2113498266Sopenharmony_ci 2213498266Sopenharmony_ci# SYNOPSIS 2313498266Sopenharmony_ci 2413498266Sopenharmony_ci~~~c 2513498266Sopenharmony_ci#include <curl/curl.h> 2613498266Sopenharmony_ci 2713498266Sopenharmony_ciCURLcode curl_easy_setopt(CURL *handle, CURLoption option, parameter); 2813498266Sopenharmony_ci~~~ 2913498266Sopenharmony_ci 3013498266Sopenharmony_ci# DESCRIPTION 3113498266Sopenharmony_ci 3213498266Sopenharmony_cicurl_easy_setopt(3) is used to tell libcurl how to behave. By setting the 3313498266Sopenharmony_ciappropriate options, the application can change libcurl's behavior. All 3413498266Sopenharmony_cioptions are set with an *option* followed by a *parameter*. That parameter can 3513498266Sopenharmony_cibe a **long**, a **function pointer**, an **object pointer** or a 3613498266Sopenharmony_ci**curl_off_t**, depending on what the specific option expects. Read this 3713498266Sopenharmony_cimanual carefully as bad input values may cause libcurl to behave badly! You 3813498266Sopenharmony_cican only set one option in each function call. A typical application uses many 3913498266Sopenharmony_cicurl_easy_setopt(3) calls in the setup phase. 4013498266Sopenharmony_ci 4113498266Sopenharmony_ciOptions set with this function call are valid for all forthcoming transfers 4213498266Sopenharmony_ciperformed using this *handle*. The options are not in any way reset between 4313498266Sopenharmony_citransfers, so if you want subsequent transfers with different options, you 4413498266Sopenharmony_cimust change them between the transfers. You can optionally reset all options 4513498266Sopenharmony_ciback to internal default with curl_easy_reset(3). 4613498266Sopenharmony_ci 4713498266Sopenharmony_ciStrings passed to libcurl as 'char *' arguments, are copied by the library; 4813498266Sopenharmony_cithe string storage associated to the pointer argument may be discarded or 4913498266Sopenharmony_cireused after curl_easy_setopt(3) returns. The only exception to this rule is 5013498266Sopenharmony_cireally CURLOPT_POSTFIELDS(3), but the alternative that copies the string 5113498266Sopenharmony_ciCURLOPT_COPYPOSTFIELDS(3) has some usage characteristics you need to read up 5213498266Sopenharmony_cion. This function does not accept input strings longer than 5313498266Sopenharmony_ci**CURL_MAX_INPUT_LENGTH** (8 MB). 5413498266Sopenharmony_ci 5513498266Sopenharmony_ciThe order in which the options are set does not matter. 5613498266Sopenharmony_ci 5713498266Sopenharmony_ciBefore version 7.17.0, strings were not copied. Instead the user was forced 5813498266Sopenharmony_cikeep them available until libcurl no longer needed them. 5913498266Sopenharmony_ci 6013498266Sopenharmony_ciThe *handle* is the return code from a curl_easy_init(3) or 6113498266Sopenharmony_cicurl_easy_duphandle(3) call. 6213498266Sopenharmony_ci 6313498266Sopenharmony_ci# BEHAVIOR OPTIONS 6413498266Sopenharmony_ci 6513498266Sopenharmony_ci## CURLOPT_VERBOSE 6613498266Sopenharmony_ci 6713498266Sopenharmony_ciDisplay verbose information. See CURLOPT_VERBOSE(3) 6813498266Sopenharmony_ci 6913498266Sopenharmony_ci## CURLOPT_HEADER 7013498266Sopenharmony_ci 7113498266Sopenharmony_ciInclude the header in the body output. See CURLOPT_HEADER(3) 7213498266Sopenharmony_ci 7313498266Sopenharmony_ci## CURLOPT_NOPROGRESS 7413498266Sopenharmony_ci 7513498266Sopenharmony_ciShut off the progress meter. See CURLOPT_NOPROGRESS(3) 7613498266Sopenharmony_ci 7713498266Sopenharmony_ci## CURLOPT_NOSIGNAL 7813498266Sopenharmony_ci 7913498266Sopenharmony_ciDo not install signal handlers. See CURLOPT_NOSIGNAL(3) 8013498266Sopenharmony_ci 8113498266Sopenharmony_ci## CURLOPT_WILDCARDMATCH 8213498266Sopenharmony_ci 8313498266Sopenharmony_ciTransfer multiple files according to a filename pattern. See 8413498266Sopenharmony_ciCURLOPT_WILDCARDMATCH(3) 8513498266Sopenharmony_ci 8613498266Sopenharmony_ci# CALLBACK OPTIONS 8713498266Sopenharmony_ci 8813498266Sopenharmony_ci## CURLOPT_WRITEFUNCTION 8913498266Sopenharmony_ci 9013498266Sopenharmony_ciCallback for writing data. See CURLOPT_WRITEFUNCTION(3) 9113498266Sopenharmony_ci 9213498266Sopenharmony_ci## CURLOPT_WRITEDATA 9313498266Sopenharmony_ci 9413498266Sopenharmony_ciData pointer to pass to the write callback. See CURLOPT_WRITEDATA(3) 9513498266Sopenharmony_ci 9613498266Sopenharmony_ci## CURLOPT_READFUNCTION 9713498266Sopenharmony_ci 9813498266Sopenharmony_ciCallback for reading data. See CURLOPT_READFUNCTION(3) 9913498266Sopenharmony_ci 10013498266Sopenharmony_ci## CURLOPT_READDATA 10113498266Sopenharmony_ci 10213498266Sopenharmony_ciData pointer to pass to the read callback. See CURLOPT_READDATA(3) 10313498266Sopenharmony_ci 10413498266Sopenharmony_ci## CURLOPT_IOCTLFUNCTION 10513498266Sopenharmony_ci 10613498266Sopenharmony_ci**Deprecated option** Callback for I/O operations. 10713498266Sopenharmony_ciSee CURLOPT_IOCTLFUNCTION(3) 10813498266Sopenharmony_ci 10913498266Sopenharmony_ci## CURLOPT_IOCTLDATA 11013498266Sopenharmony_ci 11113498266Sopenharmony_ci**Deprecated option** Data pointer to pass to the I/O callback. 11213498266Sopenharmony_ciSee CURLOPT_IOCTLDATA(3) 11313498266Sopenharmony_ci 11413498266Sopenharmony_ci## CURLOPT_SEEKFUNCTION 11513498266Sopenharmony_ci 11613498266Sopenharmony_ciCallback for seek operations. See CURLOPT_SEEKFUNCTION(3) 11713498266Sopenharmony_ci 11813498266Sopenharmony_ci## CURLOPT_SEEKDATA 11913498266Sopenharmony_ci 12013498266Sopenharmony_ciData pointer to pass to the seek callback. See CURLOPT_SEEKDATA(3) 12113498266Sopenharmony_ci 12213498266Sopenharmony_ci## CURLOPT_SOCKOPTFUNCTION 12313498266Sopenharmony_ci 12413498266Sopenharmony_ciCallback for sockopt operations. See CURLOPT_SOCKOPTFUNCTION(3) 12513498266Sopenharmony_ci 12613498266Sopenharmony_ci## CURLOPT_SOCKOPTDATA 12713498266Sopenharmony_ci 12813498266Sopenharmony_ciData pointer to pass to the sockopt callback. See CURLOPT_SOCKOPTDATA(3) 12913498266Sopenharmony_ci 13013498266Sopenharmony_ci## CURLOPT_OPENSOCKETFUNCTION 13113498266Sopenharmony_ci 13213498266Sopenharmony_ciCallback for socket creation. See CURLOPT_OPENSOCKETFUNCTION(3) 13313498266Sopenharmony_ci 13413498266Sopenharmony_ci## CURLOPT_OPENSOCKETDATA 13513498266Sopenharmony_ci 13613498266Sopenharmony_ciData pointer to pass to the open socket callback. See CURLOPT_OPENSOCKETDATA(3) 13713498266Sopenharmony_ci 13813498266Sopenharmony_ci## CURLOPT_CLOSESOCKETFUNCTION 13913498266Sopenharmony_ci 14013498266Sopenharmony_ciCallback for closing socket. See CURLOPT_CLOSESOCKETFUNCTION(3) 14113498266Sopenharmony_ci 14213498266Sopenharmony_ci## CURLOPT_CLOSESOCKETDATA 14313498266Sopenharmony_ci 14413498266Sopenharmony_ciData pointer to pass to the close socket callback. See CURLOPT_CLOSESOCKETDATA(3) 14513498266Sopenharmony_ci 14613498266Sopenharmony_ci## CURLOPT_PROGRESSFUNCTION 14713498266Sopenharmony_ci 14813498266Sopenharmony_ci**OBSOLETE** callback for progress meter. 14913498266Sopenharmony_ciSee CURLOPT_PROGRESSFUNCTION(3) 15013498266Sopenharmony_ci 15113498266Sopenharmony_ci## CURLOPT_PROGRESSDATA 15213498266Sopenharmony_ci 15313498266Sopenharmony_ciData pointer to pass to the progress meter callback. See CURLOPT_PROGRESSDATA(3) 15413498266Sopenharmony_ci 15513498266Sopenharmony_ci## CURLOPT_XFERINFOFUNCTION 15613498266Sopenharmony_ci 15713498266Sopenharmony_ciCallback for progress meter. See CURLOPT_XFERINFOFUNCTION(3) 15813498266Sopenharmony_ci 15913498266Sopenharmony_ci## CURLOPT_XFERINFODATA 16013498266Sopenharmony_ci 16113498266Sopenharmony_ciData pointer to pass to the progress meter callback. See CURLOPT_XFERINFODATA(3) 16213498266Sopenharmony_ci 16313498266Sopenharmony_ci## CURLOPT_HEADERFUNCTION 16413498266Sopenharmony_ci 16513498266Sopenharmony_ciCallback for writing received headers. See CURLOPT_HEADERFUNCTION(3) 16613498266Sopenharmony_ci 16713498266Sopenharmony_ci## CURLOPT_HEADERDATA 16813498266Sopenharmony_ci 16913498266Sopenharmony_ciData pointer to pass to the header callback. See CURLOPT_HEADERDATA(3) 17013498266Sopenharmony_ci 17113498266Sopenharmony_ci## CURLOPT_DEBUGFUNCTION 17213498266Sopenharmony_ci 17313498266Sopenharmony_ciCallback for debug information. See CURLOPT_DEBUGFUNCTION(3) 17413498266Sopenharmony_ci 17513498266Sopenharmony_ci## CURLOPT_DEBUGDATA 17613498266Sopenharmony_ci 17713498266Sopenharmony_ciData pointer to pass to the debug callback. See CURLOPT_DEBUGDATA(3) 17813498266Sopenharmony_ci 17913498266Sopenharmony_ci## CURLOPT_SSL_CTX_FUNCTION 18013498266Sopenharmony_ci 18113498266Sopenharmony_ciCallback for SSL context logic. See CURLOPT_SSL_CTX_FUNCTION(3) 18213498266Sopenharmony_ci 18313498266Sopenharmony_ci## CURLOPT_SSL_CTX_DATA 18413498266Sopenharmony_ci 18513498266Sopenharmony_ciData pointer to pass to the SSL context callback. See CURLOPT_SSL_CTX_DATA(3) 18613498266Sopenharmony_ci 18713498266Sopenharmony_ci## CURLOPT_CONV_TO_NETWORK_FUNCTION 18813498266Sopenharmony_ci 18913498266Sopenharmony_ci**OBSOLETE** Callback for code base conversion. 19013498266Sopenharmony_ciSee CURLOPT_CONV_TO_NETWORK_FUNCTION(3) 19113498266Sopenharmony_ci 19213498266Sopenharmony_ci## CURLOPT_CONV_FROM_NETWORK_FUNCTION 19313498266Sopenharmony_ci 19413498266Sopenharmony_ci**OBSOLETE** Callback for code base conversion. 19513498266Sopenharmony_ciSee CURLOPT_CONV_FROM_NETWORK_FUNCTION(3) 19613498266Sopenharmony_ci 19713498266Sopenharmony_ci## CURLOPT_CONV_FROM_UTF8_FUNCTION 19813498266Sopenharmony_ci 19913498266Sopenharmony_ci**OBSOLETE** Callback for code base conversion. 20013498266Sopenharmony_ciSee CURLOPT_CONV_FROM_UTF8_FUNCTION(3) 20113498266Sopenharmony_ci 20213498266Sopenharmony_ci## CURLOPT_INTERLEAVEFUNCTION 20313498266Sopenharmony_ci 20413498266Sopenharmony_ciCallback for RTSP interleaved data. See CURLOPT_INTERLEAVEFUNCTION(3) 20513498266Sopenharmony_ci 20613498266Sopenharmony_ci## CURLOPT_INTERLEAVEDATA 20713498266Sopenharmony_ci 20813498266Sopenharmony_ciData pointer to pass to the RTSP interleave callback. See CURLOPT_INTERLEAVEDATA(3) 20913498266Sopenharmony_ci 21013498266Sopenharmony_ci## CURLOPT_CHUNK_BGN_FUNCTION 21113498266Sopenharmony_ci 21213498266Sopenharmony_ciCallback for wildcard download start of chunk. See CURLOPT_CHUNK_BGN_FUNCTION(3) 21313498266Sopenharmony_ci 21413498266Sopenharmony_ci## CURLOPT_CHUNK_END_FUNCTION 21513498266Sopenharmony_ci 21613498266Sopenharmony_ciCallback for wildcard download end of chunk. See CURLOPT_CHUNK_END_FUNCTION(3) 21713498266Sopenharmony_ci 21813498266Sopenharmony_ci## CURLOPT_CHUNK_DATA 21913498266Sopenharmony_ci 22013498266Sopenharmony_ciData pointer to pass to the chunk callbacks. See CURLOPT_CHUNK_DATA(3) 22113498266Sopenharmony_ci 22213498266Sopenharmony_ci## CURLOPT_FNMATCH_FUNCTION 22313498266Sopenharmony_ci 22413498266Sopenharmony_ciCallback for wildcard matching. See CURLOPT_FNMATCH_FUNCTION(3) 22513498266Sopenharmony_ci 22613498266Sopenharmony_ci## CURLOPT_FNMATCH_DATA 22713498266Sopenharmony_ci 22813498266Sopenharmony_ciData pointer to pass to the wildcard matching callback. See CURLOPT_FNMATCH_DATA(3) 22913498266Sopenharmony_ci 23013498266Sopenharmony_ci## CURLOPT_SUPPRESS_CONNECT_HEADERS 23113498266Sopenharmony_ci 23213498266Sopenharmony_ciSuppress proxy CONNECT response headers from user callbacks. See 23313498266Sopenharmony_ciCURLOPT_SUPPRESS_CONNECT_HEADERS(3) 23413498266Sopenharmony_ci 23513498266Sopenharmony_ci## CURLOPT_RESOLVER_START_FUNCTION 23613498266Sopenharmony_ci 23713498266Sopenharmony_ciCallback to be called before a new resolve request is started. See 23813498266Sopenharmony_ciCURLOPT_RESOLVER_START_FUNCTION(3) 23913498266Sopenharmony_ci 24013498266Sopenharmony_ci## CURLOPT_RESOLVER_START_DATA 24113498266Sopenharmony_ci 24213498266Sopenharmony_ciData pointer to pass to resolver start callback. See CURLOPT_RESOLVER_START_DATA(3) 24313498266Sopenharmony_ci 24413498266Sopenharmony_ci## CURLOPT_PREREQFUNCTION 24513498266Sopenharmony_ci 24613498266Sopenharmony_ciCallback to be called after a connection is established but before a request 24713498266Sopenharmony_ciis made on that connection. See CURLOPT_PREREQFUNCTION(3) 24813498266Sopenharmony_ci 24913498266Sopenharmony_ci## CURLOPT_PREREQDATA 25013498266Sopenharmony_ci 25113498266Sopenharmony_ciData pointer to pass to the CURLOPT_PREREQFUNCTION callback. See 25213498266Sopenharmony_ciCURLOPT_PREREQDATA(3) 25313498266Sopenharmony_ci 25413498266Sopenharmony_ci# ERROR OPTIONS 25513498266Sopenharmony_ci 25613498266Sopenharmony_ci## CURLOPT_ERRORBUFFER 25713498266Sopenharmony_ci 25813498266Sopenharmony_ciError message buffer. See CURLOPT_ERRORBUFFER(3) 25913498266Sopenharmony_ci 26013498266Sopenharmony_ci## CURLOPT_STDERR 26113498266Sopenharmony_ci 26213498266Sopenharmony_cistderr replacement stream. See CURLOPT_STDERR(3) 26313498266Sopenharmony_ci 26413498266Sopenharmony_ci## CURLOPT_FAILONERROR 26513498266Sopenharmony_ci 26613498266Sopenharmony_ciFail on HTTP 4xx errors. CURLOPT_FAILONERROR(3) 26713498266Sopenharmony_ci 26813498266Sopenharmony_ci## CURLOPT_KEEP_SENDING_ON_ERROR 26913498266Sopenharmony_ci 27013498266Sopenharmony_ciKeep sending on HTTP >= 300 errors. CURLOPT_KEEP_SENDING_ON_ERROR(3) 27113498266Sopenharmony_ci 27213498266Sopenharmony_ci# NETWORK OPTIONS 27313498266Sopenharmony_ci 27413498266Sopenharmony_ci## CURLOPT_URL 27513498266Sopenharmony_ci 27613498266Sopenharmony_ciURL to work on. See CURLOPT_URL(3) 27713498266Sopenharmony_ci 27813498266Sopenharmony_ci## CURLOPT_PATH_AS_IS 27913498266Sopenharmony_ci 28013498266Sopenharmony_ciDisable squashing /../ and /./ sequences in the path. See CURLOPT_PATH_AS_IS(3) 28113498266Sopenharmony_ci 28213498266Sopenharmony_ci## CURLOPT_PROTOCOLS 28313498266Sopenharmony_ci 28413498266Sopenharmony_ci**Deprecated option** Allowed protocols. See CURLOPT_PROTOCOLS(3) 28513498266Sopenharmony_ci 28613498266Sopenharmony_ci## CURLOPT_PROTOCOLS_STR 28713498266Sopenharmony_ci 28813498266Sopenharmony_ciAllowed protocols. See CURLOPT_PROTOCOLS_STR(3) 28913498266Sopenharmony_ci 29013498266Sopenharmony_ci## CURLOPT_REDIR_PROTOCOLS 29113498266Sopenharmony_ci 29213498266Sopenharmony_ci**Deprecated option** Protocols to allow redirects to. See 29313498266Sopenharmony_ciCURLOPT_REDIR_PROTOCOLS(3) 29413498266Sopenharmony_ci 29513498266Sopenharmony_ci## CURLOPT_REDIR_PROTOCOLS_STR 29613498266Sopenharmony_ci 29713498266Sopenharmony_ciProtocols to allow redirects to. See CURLOPT_REDIR_PROTOCOLS_STR(3) 29813498266Sopenharmony_ci 29913498266Sopenharmony_ci## CURLOPT_DEFAULT_PROTOCOL 30013498266Sopenharmony_ci 30113498266Sopenharmony_ciDefault protocol. See CURLOPT_DEFAULT_PROTOCOL(3) 30213498266Sopenharmony_ci 30313498266Sopenharmony_ci## CURLOPT_PROXY 30413498266Sopenharmony_ci 30513498266Sopenharmony_ciProxy to use. See CURLOPT_PROXY(3) 30613498266Sopenharmony_ci 30713498266Sopenharmony_ci## CURLOPT_PRE_PROXY 30813498266Sopenharmony_ci 30913498266Sopenharmony_ciSocks proxy to use. See CURLOPT_PRE_PROXY(3) 31013498266Sopenharmony_ci 31113498266Sopenharmony_ci## CURLOPT_PROXYPORT 31213498266Sopenharmony_ci 31313498266Sopenharmony_ciProxy port to use. See CURLOPT_PROXYPORT(3) 31413498266Sopenharmony_ci 31513498266Sopenharmony_ci## CURLOPT_PROXYTYPE 31613498266Sopenharmony_ci 31713498266Sopenharmony_ciProxy type. See CURLOPT_PROXYTYPE(3) 31813498266Sopenharmony_ci 31913498266Sopenharmony_ci## CURLOPT_NOPROXY 32013498266Sopenharmony_ci 32113498266Sopenharmony_ciFilter out hosts from proxy use. CURLOPT_NOPROXY(3) 32213498266Sopenharmony_ci 32313498266Sopenharmony_ci## CURLOPT_HTTPPROXYTUNNEL 32413498266Sopenharmony_ci 32513498266Sopenharmony_ciTunnel through the HTTP proxy. CURLOPT_HTTPPROXYTUNNEL(3) 32613498266Sopenharmony_ci 32713498266Sopenharmony_ci## CURLOPT_CONNECT_TO 32813498266Sopenharmony_ci 32913498266Sopenharmony_ciConnect to a specific host and port. See CURLOPT_CONNECT_TO(3) 33013498266Sopenharmony_ci 33113498266Sopenharmony_ci## CURLOPT_SOCKS5_AUTH 33213498266Sopenharmony_ci 33313498266Sopenharmony_ciSocks5 authentication methods. See CURLOPT_SOCKS5_AUTH(3) 33413498266Sopenharmony_ci 33513498266Sopenharmony_ci## CURLOPT_SOCKS5_GSSAPI_SERVICE 33613498266Sopenharmony_ci 33713498266Sopenharmony_ci**Deprecated option** Socks5 GSSAPI service name. 33813498266Sopenharmony_ciSee CURLOPT_SOCKS5_GSSAPI_SERVICE(3) 33913498266Sopenharmony_ci 34013498266Sopenharmony_ci## CURLOPT_SOCKS5_GSSAPI_NEC 34113498266Sopenharmony_ci 34213498266Sopenharmony_ciSocks5 GSSAPI NEC mode. See CURLOPT_SOCKS5_GSSAPI_NEC(3) 34313498266Sopenharmony_ci 34413498266Sopenharmony_ci## CURLOPT_PROXY_SERVICE_NAME 34513498266Sopenharmony_ci 34613498266Sopenharmony_ciProxy authentication service name. CURLOPT_PROXY_SERVICE_NAME(3) 34713498266Sopenharmony_ci 34813498266Sopenharmony_ci## CURLOPT_HAPROXYPROTOCOL 34913498266Sopenharmony_ci 35013498266Sopenharmony_ciSend an HAProxy PROXY protocol v1 header. See CURLOPT_HAPROXYPROTOCOL(3) 35113498266Sopenharmony_ci 35213498266Sopenharmony_ci## CURLOPT_HAPROXY_CLIENT_IP 35313498266Sopenharmony_ci 35413498266Sopenharmony_ciSpoof the client IP in an HAProxy PROXY protocol v1 header. See 35513498266Sopenharmony_ciCURLOPT_HAPROXY_CLIENT_IP(3) 35613498266Sopenharmony_ci 35713498266Sopenharmony_ci## CURLOPT_SERVICE_NAME 35813498266Sopenharmony_ci 35913498266Sopenharmony_ciAuthentication service name. CURLOPT_SERVICE_NAME(3) 36013498266Sopenharmony_ci 36113498266Sopenharmony_ci## CURLOPT_INTERFACE 36213498266Sopenharmony_ci 36313498266Sopenharmony_ciBind connection locally to this. See CURLOPT_INTERFACE(3) 36413498266Sopenharmony_ci 36513498266Sopenharmony_ci## CURLOPT_LOCALPORT 36613498266Sopenharmony_ci 36713498266Sopenharmony_ciBind connection locally to this port. See CURLOPT_LOCALPORT(3) 36813498266Sopenharmony_ci 36913498266Sopenharmony_ci## CURLOPT_LOCALPORTRANGE 37013498266Sopenharmony_ci 37113498266Sopenharmony_ciBind connection locally to port range. See CURLOPT_LOCALPORTRANGE(3) 37213498266Sopenharmony_ci 37313498266Sopenharmony_ci## CURLOPT_DNS_CACHE_TIMEOUT 37413498266Sopenharmony_ci 37513498266Sopenharmony_ciTimeout for DNS cache. See CURLOPT_DNS_CACHE_TIMEOUT(3) 37613498266Sopenharmony_ci 37713498266Sopenharmony_ci## CURLOPT_DNS_USE_GLOBAL_CACHE 37813498266Sopenharmony_ci 37913498266Sopenharmony_ci**OBSOLETE** Enable global DNS cache. 38013498266Sopenharmony_ciSee CURLOPT_DNS_USE_GLOBAL_CACHE(3) 38113498266Sopenharmony_ci 38213498266Sopenharmony_ci## CURLOPT_DOH_URL 38313498266Sopenharmony_ci 38413498266Sopenharmony_ciUse this DoH server for name resolves. See CURLOPT_DOH_URL(3) 38513498266Sopenharmony_ci 38613498266Sopenharmony_ci## CURLOPT_BUFFERSIZE 38713498266Sopenharmony_ci 38813498266Sopenharmony_ciAsk for alternate buffer size. See CURLOPT_BUFFERSIZE(3) 38913498266Sopenharmony_ci 39013498266Sopenharmony_ci## CURLOPT_PORT 39113498266Sopenharmony_ci 39213498266Sopenharmony_ciPort number to connect to. See CURLOPT_PORT(3) 39313498266Sopenharmony_ci 39413498266Sopenharmony_ci## CURLOPT_TCP_FASTOPEN 39513498266Sopenharmony_ci 39613498266Sopenharmony_ciEnable TCP Fast Open. See CURLOPT_TCP_FASTOPEN(3) 39713498266Sopenharmony_ci 39813498266Sopenharmony_ci## CURLOPT_TCP_NODELAY 39913498266Sopenharmony_ci 40013498266Sopenharmony_ciDisable the Nagle algorithm. See CURLOPT_TCP_NODELAY(3) 40113498266Sopenharmony_ci 40213498266Sopenharmony_ci## CURLOPT_ADDRESS_SCOPE 40313498266Sopenharmony_ci 40413498266Sopenharmony_ciIPv6 scope for local addresses. See CURLOPT_ADDRESS_SCOPE(3) 40513498266Sopenharmony_ci 40613498266Sopenharmony_ci## CURLOPT_TCP_KEEPALIVE 40713498266Sopenharmony_ci 40813498266Sopenharmony_ciEnable TCP keep-alive. See CURLOPT_TCP_KEEPALIVE(3) 40913498266Sopenharmony_ci 41013498266Sopenharmony_ci## CURLOPT_TCP_KEEPIDLE 41113498266Sopenharmony_ci 41213498266Sopenharmony_ciIdle time before sending keep-alive. See CURLOPT_TCP_KEEPIDLE(3) 41313498266Sopenharmony_ci 41413498266Sopenharmony_ci## CURLOPT_TCP_KEEPINTVL 41513498266Sopenharmony_ci 41613498266Sopenharmony_ciInterval between keep-alive probes. See CURLOPT_TCP_KEEPINTVL(3) 41713498266Sopenharmony_ci 41813498266Sopenharmony_ci## CURLOPT_UNIX_SOCKET_PATH 41913498266Sopenharmony_ci 42013498266Sopenharmony_ciPath to a Unix domain socket. See CURLOPT_UNIX_SOCKET_PATH(3) 42113498266Sopenharmony_ci 42213498266Sopenharmony_ci## CURLOPT_ABSTRACT_UNIX_SOCKET 42313498266Sopenharmony_ci 42413498266Sopenharmony_ciPath to an abstract Unix domain socket. See CURLOPT_ABSTRACT_UNIX_SOCKET(3) 42513498266Sopenharmony_ci 42613498266Sopenharmony_ci# NAMES and PASSWORDS OPTIONS (Authentication) 42713498266Sopenharmony_ci 42813498266Sopenharmony_ci## CURLOPT_NETRC 42913498266Sopenharmony_ci 43013498266Sopenharmony_ciEnable .netrc parsing. See CURLOPT_NETRC(3) 43113498266Sopenharmony_ci 43213498266Sopenharmony_ci## CURLOPT_NETRC_FILE 43313498266Sopenharmony_ci 43413498266Sopenharmony_ci.netrc filename. See CURLOPT_NETRC_FILE(3) 43513498266Sopenharmony_ci 43613498266Sopenharmony_ci## CURLOPT_USERPWD 43713498266Sopenharmony_ci 43813498266Sopenharmony_ciUser name and password. See CURLOPT_USERPWD(3) 43913498266Sopenharmony_ci 44013498266Sopenharmony_ci## CURLOPT_PROXYUSERPWD 44113498266Sopenharmony_ci 44213498266Sopenharmony_ciProxy user name and password. See CURLOPT_PROXYUSERPWD(3) 44313498266Sopenharmony_ci 44413498266Sopenharmony_ci## CURLOPT_USERNAME 44513498266Sopenharmony_ci 44613498266Sopenharmony_ciUser name. See CURLOPT_USERNAME(3) 44713498266Sopenharmony_ci 44813498266Sopenharmony_ci## CURLOPT_PASSWORD 44913498266Sopenharmony_ci 45013498266Sopenharmony_ciPassword. See CURLOPT_PASSWORD(3) 45113498266Sopenharmony_ci 45213498266Sopenharmony_ci## CURLOPT_LOGIN_OPTIONS 45313498266Sopenharmony_ci 45413498266Sopenharmony_ciLogin options. See CURLOPT_LOGIN_OPTIONS(3) 45513498266Sopenharmony_ci 45613498266Sopenharmony_ci## CURLOPT_PROXYUSERNAME 45713498266Sopenharmony_ci 45813498266Sopenharmony_ciProxy user name. See CURLOPT_PROXYUSERNAME(3) 45913498266Sopenharmony_ci 46013498266Sopenharmony_ci## CURLOPT_PROXYPASSWORD 46113498266Sopenharmony_ci 46213498266Sopenharmony_ciProxy password. See CURLOPT_PROXYPASSWORD(3) 46313498266Sopenharmony_ci 46413498266Sopenharmony_ci## CURLOPT_HTTPAUTH 46513498266Sopenharmony_ci 46613498266Sopenharmony_ciHTTP server authentication methods. See CURLOPT_HTTPAUTH(3) 46713498266Sopenharmony_ci 46813498266Sopenharmony_ci## CURLOPT_TLSAUTH_USERNAME 46913498266Sopenharmony_ci 47013498266Sopenharmony_ciTLS authentication user name. See CURLOPT_TLSAUTH_USERNAME(3) 47113498266Sopenharmony_ci 47213498266Sopenharmony_ci## CURLOPT_PROXY_TLSAUTH_USERNAME 47313498266Sopenharmony_ci 47413498266Sopenharmony_ciProxy TLS authentication user name. See CURLOPT_PROXY_TLSAUTH_USERNAME(3) 47513498266Sopenharmony_ci 47613498266Sopenharmony_ci## CURLOPT_TLSAUTH_PASSWORD 47713498266Sopenharmony_ci 47813498266Sopenharmony_ciTLS authentication password. See CURLOPT_TLSAUTH_PASSWORD(3) 47913498266Sopenharmony_ci 48013498266Sopenharmony_ci## CURLOPT_PROXY_TLSAUTH_PASSWORD 48113498266Sopenharmony_ci 48213498266Sopenharmony_ciProxy TLS authentication password. See CURLOPT_PROXY_TLSAUTH_PASSWORD(3) 48313498266Sopenharmony_ci 48413498266Sopenharmony_ci## CURLOPT_TLSAUTH_TYPE 48513498266Sopenharmony_ci 48613498266Sopenharmony_ciTLS authentication methods. See CURLOPT_TLSAUTH_TYPE(3) 48713498266Sopenharmony_ci 48813498266Sopenharmony_ci## CURLOPT_PROXY_TLSAUTH_TYPE 48913498266Sopenharmony_ci 49013498266Sopenharmony_ciProxy TLS authentication methods. See CURLOPT_PROXY_TLSAUTH_TYPE(3) 49113498266Sopenharmony_ci 49213498266Sopenharmony_ci## CURLOPT_PROXYAUTH 49313498266Sopenharmony_ci 49413498266Sopenharmony_ciHTTP proxy authentication methods. See CURLOPT_PROXYAUTH(3) 49513498266Sopenharmony_ci 49613498266Sopenharmony_ci## CURLOPT_SASL_AUTHZID 49713498266Sopenharmony_ci 49813498266Sopenharmony_ciSASL authorization identity (identity to act as). See CURLOPT_SASL_AUTHZID(3) 49913498266Sopenharmony_ci 50013498266Sopenharmony_ci## CURLOPT_SASL_IR 50113498266Sopenharmony_ci 50213498266Sopenharmony_ciEnable SASL initial response. See CURLOPT_SASL_IR(3) 50313498266Sopenharmony_ci 50413498266Sopenharmony_ci## CURLOPT_XOAUTH2_BEARER 50513498266Sopenharmony_ci 50613498266Sopenharmony_ciOAuth2 bearer token. See CURLOPT_XOAUTH2_BEARER(3) 50713498266Sopenharmony_ci 50813498266Sopenharmony_ci## CURLOPT_DISALLOW_USERNAME_IN_URL 50913498266Sopenharmony_ci 51013498266Sopenharmony_ciDo not allow username in URL. See CURLOPT_DISALLOW_USERNAME_IN_URL(3) 51113498266Sopenharmony_ci 51213498266Sopenharmony_ci# HTTP OPTIONS 51313498266Sopenharmony_ci 51413498266Sopenharmony_ci## CURLOPT_AUTOREFERER 51513498266Sopenharmony_ci 51613498266Sopenharmony_ciAutomatically set Referer: header. See CURLOPT_AUTOREFERER(3) 51713498266Sopenharmony_ci 51813498266Sopenharmony_ci## CURLOPT_ACCEPT_ENCODING 51913498266Sopenharmony_ci 52013498266Sopenharmony_ciAccept-Encoding and automatic decompressing data. See CURLOPT_ACCEPT_ENCODING(3) 52113498266Sopenharmony_ci 52213498266Sopenharmony_ci## CURLOPT_TRANSFER_ENCODING 52313498266Sopenharmony_ci 52413498266Sopenharmony_ciRequest Transfer-Encoding. See CURLOPT_TRANSFER_ENCODING(3) 52513498266Sopenharmony_ci 52613498266Sopenharmony_ci## CURLOPT_FOLLOWLOCATION 52713498266Sopenharmony_ci 52813498266Sopenharmony_ciFollow HTTP redirects. See CURLOPT_FOLLOWLOCATION(3) 52913498266Sopenharmony_ci 53013498266Sopenharmony_ci## CURLOPT_UNRESTRICTED_AUTH 53113498266Sopenharmony_ci 53213498266Sopenharmony_ciDo not restrict authentication to original host. CURLOPT_UNRESTRICTED_AUTH(3) 53313498266Sopenharmony_ci 53413498266Sopenharmony_ci## CURLOPT_MAXREDIRS 53513498266Sopenharmony_ci 53613498266Sopenharmony_ciMaximum number of redirects to follow. See CURLOPT_MAXREDIRS(3) 53713498266Sopenharmony_ci 53813498266Sopenharmony_ci## CURLOPT_POSTREDIR 53913498266Sopenharmony_ci 54013498266Sopenharmony_ciHow to act on redirects after POST. See CURLOPT_POSTREDIR(3) 54113498266Sopenharmony_ci 54213498266Sopenharmony_ci## CURLOPT_PUT 54313498266Sopenharmony_ci 54413498266Sopenharmony_ci**Deprecated option** Issue an HTTP PUT request. See CURLOPT_PUT(3) 54513498266Sopenharmony_ci 54613498266Sopenharmony_ci## CURLOPT_POST 54713498266Sopenharmony_ci 54813498266Sopenharmony_ciIssue an HTTP POST request. See CURLOPT_POST(3) 54913498266Sopenharmony_ci 55013498266Sopenharmony_ci## CURLOPT_POSTFIELDS 55113498266Sopenharmony_ci 55213498266Sopenharmony_ciSend a POST with this data. See CURLOPT_POSTFIELDS(3) 55313498266Sopenharmony_ci 55413498266Sopenharmony_ci## CURLOPT_POSTFIELDSIZE 55513498266Sopenharmony_ci 55613498266Sopenharmony_ciThe POST data is this big. See CURLOPT_POSTFIELDSIZE(3) 55713498266Sopenharmony_ci 55813498266Sopenharmony_ci## CURLOPT_POSTFIELDSIZE_LARGE 55913498266Sopenharmony_ci 56013498266Sopenharmony_ciThe POST data is this big. See CURLOPT_POSTFIELDSIZE_LARGE(3) 56113498266Sopenharmony_ci 56213498266Sopenharmony_ci## CURLOPT_COPYPOSTFIELDS 56313498266Sopenharmony_ci 56413498266Sopenharmony_ciSend a POST with this data - and copy it. See CURLOPT_COPYPOSTFIELDS(3) 56513498266Sopenharmony_ci 56613498266Sopenharmony_ci## CURLOPT_HTTPPOST 56713498266Sopenharmony_ci 56813498266Sopenharmony_ci**Deprecated option** Multipart formpost HTTP POST. 56913498266Sopenharmony_ciSee CURLOPT_HTTPPOST(3) 57013498266Sopenharmony_ci 57113498266Sopenharmony_ci## CURLOPT_REFERER 57213498266Sopenharmony_ci 57313498266Sopenharmony_ciReferer: header. See CURLOPT_REFERER(3) 57413498266Sopenharmony_ci 57513498266Sopenharmony_ci## CURLOPT_USERAGENT 57613498266Sopenharmony_ci 57713498266Sopenharmony_ciUser-Agent: header. See CURLOPT_USERAGENT(3) 57813498266Sopenharmony_ci 57913498266Sopenharmony_ci## CURLOPT_HTTPHEADER 58013498266Sopenharmony_ci 58113498266Sopenharmony_ciCustom HTTP headers. See CURLOPT_HTTPHEADER(3) 58213498266Sopenharmony_ci 58313498266Sopenharmony_ci## CURLOPT_HEADEROPT 58413498266Sopenharmony_ci 58513498266Sopenharmony_ciControl custom headers. See CURLOPT_HEADEROPT(3) 58613498266Sopenharmony_ci 58713498266Sopenharmony_ci## CURLOPT_PROXYHEADER 58813498266Sopenharmony_ci 58913498266Sopenharmony_ciCustom HTTP headers sent to proxy. See CURLOPT_PROXYHEADER(3) 59013498266Sopenharmony_ci 59113498266Sopenharmony_ci## CURLOPT_HTTP200ALIASES 59213498266Sopenharmony_ci 59313498266Sopenharmony_ciAlternative versions of 200 OK. See CURLOPT_HTTP200ALIASES(3) 59413498266Sopenharmony_ci 59513498266Sopenharmony_ci## CURLOPT_COOKIE 59613498266Sopenharmony_ci 59713498266Sopenharmony_ciCookie(s) to send. See CURLOPT_COOKIE(3) 59813498266Sopenharmony_ci 59913498266Sopenharmony_ci## CURLOPT_COOKIEFILE 60013498266Sopenharmony_ci 60113498266Sopenharmony_ciFile to read cookies from. See CURLOPT_COOKIEFILE(3) 60213498266Sopenharmony_ci 60313498266Sopenharmony_ci## CURLOPT_COOKIEJAR 60413498266Sopenharmony_ci 60513498266Sopenharmony_ciFile to write cookies to. See CURLOPT_COOKIEJAR(3) 60613498266Sopenharmony_ci 60713498266Sopenharmony_ci## CURLOPT_COOKIESESSION 60813498266Sopenharmony_ci 60913498266Sopenharmony_ciStart a new cookie session. See CURLOPT_COOKIESESSION(3) 61013498266Sopenharmony_ci 61113498266Sopenharmony_ci## CURLOPT_COOKIELIST 61213498266Sopenharmony_ci 61313498266Sopenharmony_ciAdd or control cookies. See CURLOPT_COOKIELIST(3) 61413498266Sopenharmony_ci 61513498266Sopenharmony_ci## CURLOPT_ALTSVC 61613498266Sopenharmony_ci 61713498266Sopenharmony_ciSpecify the Alt-Svc: cache filename. See CURLOPT_ALTSVC(3) 61813498266Sopenharmony_ci 61913498266Sopenharmony_ci## CURLOPT_ALTSVC_CTRL 62013498266Sopenharmony_ci 62113498266Sopenharmony_ciEnable and configure Alt-Svc: treatment. See CURLOPT_ALTSVC_CTRL(3) 62213498266Sopenharmony_ci 62313498266Sopenharmony_ci## CURLOPT_HSTS 62413498266Sopenharmony_ci 62513498266Sopenharmony_ciSet HSTS cache file. See CURLOPT_HSTS(3) 62613498266Sopenharmony_ci 62713498266Sopenharmony_ci## CURLOPT_HSTS_CTRL 62813498266Sopenharmony_ci 62913498266Sopenharmony_ciEnable HSTS. See CURLOPT_HSTS_CTRL(3) 63013498266Sopenharmony_ci 63113498266Sopenharmony_ci## CURLOPT_HSTSREADFUNCTION 63213498266Sopenharmony_ci 63313498266Sopenharmony_ciSet HSTS read callback. See CURLOPT_HSTSREADFUNCTION(3) 63413498266Sopenharmony_ci 63513498266Sopenharmony_ci## CURLOPT_HSTSREADDATA 63613498266Sopenharmony_ci 63713498266Sopenharmony_ciPass pointer to the HSTS read callback. See CURLOPT_HSTSREADDATA(3) 63813498266Sopenharmony_ci 63913498266Sopenharmony_ci## CURLOPT_HSTSWRITEFUNCTION 64013498266Sopenharmony_ci 64113498266Sopenharmony_ciSet HSTS write callback. See CURLOPT_HSTSWRITEFUNCTION(3) 64213498266Sopenharmony_ci 64313498266Sopenharmony_ci## CURLOPT_HSTSWRITEDATA 64413498266Sopenharmony_ci 64513498266Sopenharmony_ciPass pointer to the HSTS write callback. See CURLOPT_HSTSWRITEDATA(3) 64613498266Sopenharmony_ci 64713498266Sopenharmony_ci## CURLOPT_HTTPGET 64813498266Sopenharmony_ci 64913498266Sopenharmony_ciDo an HTTP GET request. See CURLOPT_HTTPGET(3) 65013498266Sopenharmony_ci 65113498266Sopenharmony_ci## CURLOPT_REQUEST_TARGET 65213498266Sopenharmony_ci 65313498266Sopenharmony_ciSet the request target. CURLOPT_REQUEST_TARGET(3) 65413498266Sopenharmony_ci 65513498266Sopenharmony_ci## CURLOPT_HTTP_VERSION 65613498266Sopenharmony_ci 65713498266Sopenharmony_ciHTTP version to use. CURLOPT_HTTP_VERSION(3) 65813498266Sopenharmony_ci 65913498266Sopenharmony_ci## CURLOPT_HTTP09_ALLOWED 66013498266Sopenharmony_ci 66113498266Sopenharmony_ciAllow HTTP/0.9 responses. CURLOPT_HTTP09_ALLOWED(3) 66213498266Sopenharmony_ci 66313498266Sopenharmony_ci## CURLOPT_IGNORE_CONTENT_LENGTH 66413498266Sopenharmony_ci 66513498266Sopenharmony_ciIgnore Content-Length. See CURLOPT_IGNORE_CONTENT_LENGTH(3) 66613498266Sopenharmony_ci 66713498266Sopenharmony_ci## CURLOPT_HTTP_CONTENT_DECODING 66813498266Sopenharmony_ci 66913498266Sopenharmony_ciDisable Content decoding. See CURLOPT_HTTP_CONTENT_DECODING(3) 67013498266Sopenharmony_ci 67113498266Sopenharmony_ci## CURLOPT_HTTP_TRANSFER_DECODING 67213498266Sopenharmony_ci 67313498266Sopenharmony_ciDisable Transfer decoding. See CURLOPT_HTTP_TRANSFER_DECODING(3) 67413498266Sopenharmony_ci 67513498266Sopenharmony_ci## CURLOPT_EXPECT_100_TIMEOUT_MS 67613498266Sopenharmony_ci 67713498266Sopenharmony_ci100-continue timeout. See CURLOPT_EXPECT_100_TIMEOUT_MS(3) 67813498266Sopenharmony_ci 67913498266Sopenharmony_ci## CURLOPT_TRAILERFUNCTION 68013498266Sopenharmony_ci 68113498266Sopenharmony_ciSet callback for sending trailing headers. See 68213498266Sopenharmony_ciCURLOPT_TRAILERFUNCTION(3) 68313498266Sopenharmony_ci 68413498266Sopenharmony_ci## CURLOPT_TRAILERDATA 68513498266Sopenharmony_ci 68613498266Sopenharmony_ciCustom pointer passed to the trailing headers callback. See 68713498266Sopenharmony_ciCURLOPT_TRAILERDATA(3) 68813498266Sopenharmony_ci 68913498266Sopenharmony_ci## CURLOPT_PIPEWAIT 69013498266Sopenharmony_ci 69113498266Sopenharmony_ciWait on connection to pipeline on it. See CURLOPT_PIPEWAIT(3) 69213498266Sopenharmony_ci 69313498266Sopenharmony_ci## CURLOPT_STREAM_DEPENDS 69413498266Sopenharmony_ci 69513498266Sopenharmony_ciThis HTTP/2 stream depends on another. See CURLOPT_STREAM_DEPENDS(3) 69613498266Sopenharmony_ci 69713498266Sopenharmony_ci## CURLOPT_STREAM_DEPENDS_E 69813498266Sopenharmony_ci 69913498266Sopenharmony_ciThis HTTP/2 stream depends on another exclusively. See 70013498266Sopenharmony_ciCURLOPT_STREAM_DEPENDS_E(3) 70113498266Sopenharmony_ci 70213498266Sopenharmony_ci## CURLOPT_STREAM_WEIGHT 70313498266Sopenharmony_ci 70413498266Sopenharmony_ciSet this HTTP/2 stream's weight. See CURLOPT_STREAM_WEIGHT(3) 70513498266Sopenharmony_ci 70613498266Sopenharmony_ci# SMTP OPTIONS 70713498266Sopenharmony_ci 70813498266Sopenharmony_ci## CURLOPT_MAIL_FROM 70913498266Sopenharmony_ci 71013498266Sopenharmony_ciAddress of the sender. See CURLOPT_MAIL_FROM(3) 71113498266Sopenharmony_ci 71213498266Sopenharmony_ci## CURLOPT_MAIL_RCPT 71313498266Sopenharmony_ci 71413498266Sopenharmony_ciAddress of the recipients. See CURLOPT_MAIL_RCPT(3) 71513498266Sopenharmony_ci 71613498266Sopenharmony_ci## CURLOPT_MAIL_AUTH 71713498266Sopenharmony_ci 71813498266Sopenharmony_ciAuthentication address. See CURLOPT_MAIL_AUTH(3) 71913498266Sopenharmony_ci 72013498266Sopenharmony_ci## CURLOPT_MAIL_RCPT_ALLOWFAILS 72113498266Sopenharmony_ci 72213498266Sopenharmony_ciAllow RCPT TO command to fail for some recipients. See 72313498266Sopenharmony_ciCURLOPT_MAIL_RCPT_ALLOWFAILS(3) 72413498266Sopenharmony_ci 72513498266Sopenharmony_ci# TFTP OPTIONS 72613498266Sopenharmony_ci 72713498266Sopenharmony_ci## CURLOPT_TFTP_BLKSIZE 72813498266Sopenharmony_ci 72913498266Sopenharmony_ciTFTP block size. See CURLOPT_TFTP_BLKSIZE(3) 73013498266Sopenharmony_ci 73113498266Sopenharmony_ci## CURLOPT_TFTP_NO_OPTIONS 73213498266Sopenharmony_ci 73313498266Sopenharmony_ciDo not send TFTP options requests. See CURLOPT_TFTP_NO_OPTIONS(3) 73413498266Sopenharmony_ci 73513498266Sopenharmony_ci# FTP OPTIONS 73613498266Sopenharmony_ci 73713498266Sopenharmony_ci## CURLOPT_FTPPORT 73813498266Sopenharmony_ci 73913498266Sopenharmony_ciUse active FTP. See CURLOPT_FTPPORT(3) 74013498266Sopenharmony_ci 74113498266Sopenharmony_ci## CURLOPT_QUOTE 74213498266Sopenharmony_ci 74313498266Sopenharmony_ciCommands to run before transfer. See CURLOPT_QUOTE(3) 74413498266Sopenharmony_ci 74513498266Sopenharmony_ci## CURLOPT_POSTQUOTE 74613498266Sopenharmony_ci 74713498266Sopenharmony_ciCommands to run after transfer. See CURLOPT_POSTQUOTE(3) 74813498266Sopenharmony_ci 74913498266Sopenharmony_ci## CURLOPT_PREQUOTE 75013498266Sopenharmony_ci 75113498266Sopenharmony_ciCommands to run just before transfer. See CURLOPT_PREQUOTE(3) 75213498266Sopenharmony_ci 75313498266Sopenharmony_ci## CURLOPT_APPEND 75413498266Sopenharmony_ci 75513498266Sopenharmony_ciAppend to remote file. See CURLOPT_APPEND(3) 75613498266Sopenharmony_ci 75713498266Sopenharmony_ci## CURLOPT_FTP_USE_EPRT 75813498266Sopenharmony_ci 75913498266Sopenharmony_ciUse EPRT. See CURLOPT_FTP_USE_EPRT(3) 76013498266Sopenharmony_ci 76113498266Sopenharmony_ci## CURLOPT_FTP_USE_EPSV 76213498266Sopenharmony_ci 76313498266Sopenharmony_ciUse EPSV. See CURLOPT_FTP_USE_EPSV(3) 76413498266Sopenharmony_ci 76513498266Sopenharmony_ci## CURLOPT_FTP_USE_PRET 76613498266Sopenharmony_ci 76713498266Sopenharmony_ciUse PRET. See CURLOPT_FTP_USE_PRET(3) 76813498266Sopenharmony_ci 76913498266Sopenharmony_ci## CURLOPT_FTP_CREATE_MISSING_DIRS 77013498266Sopenharmony_ci 77113498266Sopenharmony_ciCreate missing directories on the remote server. See CURLOPT_FTP_CREATE_MISSING_DIRS(3) 77213498266Sopenharmony_ci 77313498266Sopenharmony_ci## CURLOPT_SERVER_RESPONSE_TIMEOUT 77413498266Sopenharmony_ci 77513498266Sopenharmony_ciTimeout for server responses. See CURLOPT_SERVER_RESPONSE_TIMEOUT(3) 77613498266Sopenharmony_ci 77713498266Sopenharmony_ci## CURLOPT_SERVER_RESPONSE_TIMEOUT_MS 77813498266Sopenharmony_ci 77913498266Sopenharmony_ciTimeout for server responses. See CURLOPT_SERVER_RESPONSE_TIMEOUT_MS(3) 78013498266Sopenharmony_ci 78113498266Sopenharmony_ci## CURLOPT_FTP_ALTERNATIVE_TO_USER 78213498266Sopenharmony_ci 78313498266Sopenharmony_ciAlternative to USER. See CURLOPT_FTP_ALTERNATIVE_TO_USER(3) 78413498266Sopenharmony_ci 78513498266Sopenharmony_ci## CURLOPT_FTP_SKIP_PASV_IP 78613498266Sopenharmony_ci 78713498266Sopenharmony_ciIgnore the IP address in the PASV response. See CURLOPT_FTP_SKIP_PASV_IP(3) 78813498266Sopenharmony_ci 78913498266Sopenharmony_ci## CURLOPT_FTPSSLAUTH 79013498266Sopenharmony_ci 79113498266Sopenharmony_ciControl how to do TLS. See CURLOPT_FTPSSLAUTH(3) 79213498266Sopenharmony_ci 79313498266Sopenharmony_ci## CURLOPT_FTP_SSL_CCC 79413498266Sopenharmony_ci 79513498266Sopenharmony_ciBack to non-TLS again after authentication. See CURLOPT_FTP_SSL_CCC(3) 79613498266Sopenharmony_ci 79713498266Sopenharmony_ci## CURLOPT_FTP_ACCOUNT 79813498266Sopenharmony_ci 79913498266Sopenharmony_ciSend ACCT command. See CURLOPT_FTP_ACCOUNT(3) 80013498266Sopenharmony_ci 80113498266Sopenharmony_ci## CURLOPT_FTP_FILEMETHOD 80213498266Sopenharmony_ci 80313498266Sopenharmony_ciSpecify how to reach files. See CURLOPT_FTP_FILEMETHOD(3) 80413498266Sopenharmony_ci 80513498266Sopenharmony_ci# RTSP OPTIONS 80613498266Sopenharmony_ci 80713498266Sopenharmony_ci## CURLOPT_RTSP_REQUEST 80813498266Sopenharmony_ci 80913498266Sopenharmony_ciRTSP request. See CURLOPT_RTSP_REQUEST(3) 81013498266Sopenharmony_ci 81113498266Sopenharmony_ci## CURLOPT_RTSP_SESSION_ID 81213498266Sopenharmony_ci 81313498266Sopenharmony_ciRTSP session-id. See CURLOPT_RTSP_SESSION_ID(3) 81413498266Sopenharmony_ci 81513498266Sopenharmony_ci## CURLOPT_RTSP_STREAM_URI 81613498266Sopenharmony_ci 81713498266Sopenharmony_ciRTSP stream URI. See CURLOPT_RTSP_STREAM_URI(3) 81813498266Sopenharmony_ci 81913498266Sopenharmony_ci## CURLOPT_RTSP_TRANSPORT 82013498266Sopenharmony_ci 82113498266Sopenharmony_ciRTSP Transport: header. See CURLOPT_RTSP_TRANSPORT(3) 82213498266Sopenharmony_ci 82313498266Sopenharmony_ci## CURLOPT_RTSP_CLIENT_CSEQ 82413498266Sopenharmony_ci 82513498266Sopenharmony_ciClient CSEQ number. See CURLOPT_RTSP_CLIENT_CSEQ(3) 82613498266Sopenharmony_ci 82713498266Sopenharmony_ci## CURLOPT_RTSP_SERVER_CSEQ 82813498266Sopenharmony_ci 82913498266Sopenharmony_ciCSEQ number for RTSP Server->Client request. See CURLOPT_RTSP_SERVER_CSEQ(3) 83013498266Sopenharmony_ci 83113498266Sopenharmony_ci## CURLOPT_AWS_SIGV4 83213498266Sopenharmony_ci 83313498266Sopenharmony_ciAWS HTTP V4 Signature. See CURLOPT_AWS_SIGV4(3) 83413498266Sopenharmony_ci 83513498266Sopenharmony_ci# PROTOCOL OPTIONS 83613498266Sopenharmony_ci 83713498266Sopenharmony_ci## CURLOPT_TRANSFERTEXT 83813498266Sopenharmony_ci 83913498266Sopenharmony_ciUse text transfer. See CURLOPT_TRANSFERTEXT(3) 84013498266Sopenharmony_ci 84113498266Sopenharmony_ci## CURLOPT_PROXY_TRANSFER_MODE 84213498266Sopenharmony_ci 84313498266Sopenharmony_ciAdd transfer mode to URL over proxy. See CURLOPT_PROXY_TRANSFER_MODE(3) 84413498266Sopenharmony_ci 84513498266Sopenharmony_ci## CURLOPT_CRLF 84613498266Sopenharmony_ci 84713498266Sopenharmony_ciConvert newlines. See CURLOPT_CRLF(3) 84813498266Sopenharmony_ci 84913498266Sopenharmony_ci## CURLOPT_RANGE 85013498266Sopenharmony_ci 85113498266Sopenharmony_ciRange requests. See CURLOPT_RANGE(3) 85213498266Sopenharmony_ci 85313498266Sopenharmony_ci## CURLOPT_RESUME_FROM 85413498266Sopenharmony_ci 85513498266Sopenharmony_ciResume a transfer. See CURLOPT_RESUME_FROM(3) 85613498266Sopenharmony_ci 85713498266Sopenharmony_ci## CURLOPT_RESUME_FROM_LARGE 85813498266Sopenharmony_ci 85913498266Sopenharmony_ciResume a transfer. See CURLOPT_RESUME_FROM_LARGE(3) 86013498266Sopenharmony_ci 86113498266Sopenharmony_ci## CURLOPT_CURLU 86213498266Sopenharmony_ci 86313498266Sopenharmony_ciSet URL to work on with a URL handle. See CURLOPT_CURLU(3) 86413498266Sopenharmony_ci 86513498266Sopenharmony_ci## CURLOPT_CUSTOMREQUEST 86613498266Sopenharmony_ci 86713498266Sopenharmony_ciCustom request/method. See CURLOPT_CUSTOMREQUEST(3) 86813498266Sopenharmony_ci 86913498266Sopenharmony_ci## CURLOPT_FILETIME 87013498266Sopenharmony_ci 87113498266Sopenharmony_ciRequest file modification date and time. See CURLOPT_FILETIME(3) 87213498266Sopenharmony_ci 87313498266Sopenharmony_ci## CURLOPT_DIRLISTONLY 87413498266Sopenharmony_ci 87513498266Sopenharmony_ciList only. See CURLOPT_DIRLISTONLY(3) 87613498266Sopenharmony_ci 87713498266Sopenharmony_ci## CURLOPT_NOBODY 87813498266Sopenharmony_ci 87913498266Sopenharmony_ciDo not get the body contents. See CURLOPT_NOBODY(3) 88013498266Sopenharmony_ci 88113498266Sopenharmony_ci## CURLOPT_INFILESIZE 88213498266Sopenharmony_ci 88313498266Sopenharmony_ciSize of file to send. CURLOPT_INFILESIZE(3) 88413498266Sopenharmony_ci 88513498266Sopenharmony_ci## CURLOPT_INFILESIZE_LARGE 88613498266Sopenharmony_ci 88713498266Sopenharmony_ciSize of file to send. CURLOPT_INFILESIZE_LARGE(3) 88813498266Sopenharmony_ci 88913498266Sopenharmony_ci## CURLOPT_UPLOAD 89013498266Sopenharmony_ci 89113498266Sopenharmony_ciUpload data. See CURLOPT_UPLOAD(3) 89213498266Sopenharmony_ci 89313498266Sopenharmony_ci## CURLOPT_UPLOAD_BUFFERSIZE 89413498266Sopenharmony_ci 89513498266Sopenharmony_ciSet upload buffer size. See CURLOPT_UPLOAD_BUFFERSIZE(3) 89613498266Sopenharmony_ci 89713498266Sopenharmony_ci## CURLOPT_MIMEPOST 89813498266Sopenharmony_ci 89913498266Sopenharmony_ciPost/send MIME data. See CURLOPT_MIMEPOST(3) 90013498266Sopenharmony_ci 90113498266Sopenharmony_ci## CURLOPT_MIME_OPTIONS 90213498266Sopenharmony_ci 90313498266Sopenharmony_ciSet MIME option flags. See CURLOPT_MIME_OPTIONS(3) 90413498266Sopenharmony_ci 90513498266Sopenharmony_ci## CURLOPT_MAXFILESIZE 90613498266Sopenharmony_ci 90713498266Sopenharmony_ciMaximum file size to get. See CURLOPT_MAXFILESIZE(3) 90813498266Sopenharmony_ci 90913498266Sopenharmony_ci## CURLOPT_MAXFILESIZE_LARGE 91013498266Sopenharmony_ci 91113498266Sopenharmony_ciMaximum file size to get. See CURLOPT_MAXFILESIZE_LARGE(3) 91213498266Sopenharmony_ci 91313498266Sopenharmony_ci## CURLOPT_TIMECONDITION 91413498266Sopenharmony_ci 91513498266Sopenharmony_ciMake a time conditional request. See CURLOPT_TIMECONDITION(3) 91613498266Sopenharmony_ci 91713498266Sopenharmony_ci## CURLOPT_TIMEVALUE 91813498266Sopenharmony_ci 91913498266Sopenharmony_ciTime value for the time conditional request. See CURLOPT_TIMEVALUE(3) 92013498266Sopenharmony_ci 92113498266Sopenharmony_ci## CURLOPT_TIMEVALUE_LARGE 92213498266Sopenharmony_ci 92313498266Sopenharmony_ciTime value for the time conditional request. See CURLOPT_TIMEVALUE_LARGE(3) 92413498266Sopenharmony_ci 92513498266Sopenharmony_ci# CONNECTION OPTIONS 92613498266Sopenharmony_ci 92713498266Sopenharmony_ci## CURLOPT_TIMEOUT 92813498266Sopenharmony_ci 92913498266Sopenharmony_ciTimeout for the entire request. See CURLOPT_TIMEOUT(3) 93013498266Sopenharmony_ci 93113498266Sopenharmony_ci## CURLOPT_TIMEOUT_MS 93213498266Sopenharmony_ci 93313498266Sopenharmony_ciMillisecond timeout for the entire request. See CURLOPT_TIMEOUT_MS(3) 93413498266Sopenharmony_ci 93513498266Sopenharmony_ci## CURLOPT_LOW_SPEED_LIMIT 93613498266Sopenharmony_ci 93713498266Sopenharmony_ciLow speed limit to abort transfer. See CURLOPT_LOW_SPEED_LIMIT(3) 93813498266Sopenharmony_ci 93913498266Sopenharmony_ci## CURLOPT_LOW_SPEED_TIME 94013498266Sopenharmony_ci 94113498266Sopenharmony_ciTime to be below the speed to trigger low speed abort. See CURLOPT_LOW_SPEED_TIME(3) 94213498266Sopenharmony_ci 94313498266Sopenharmony_ci## CURLOPT_MAX_SEND_SPEED_LARGE 94413498266Sopenharmony_ci 94513498266Sopenharmony_ciCap the upload speed to this. See CURLOPT_MAX_SEND_SPEED_LARGE(3) 94613498266Sopenharmony_ci 94713498266Sopenharmony_ci## CURLOPT_MAX_RECV_SPEED_LARGE 94813498266Sopenharmony_ci 94913498266Sopenharmony_ciCap the download speed to this. See CURLOPT_MAX_RECV_SPEED_LARGE(3) 95013498266Sopenharmony_ci 95113498266Sopenharmony_ci## CURLOPT_MAXCONNECTS 95213498266Sopenharmony_ci 95313498266Sopenharmony_ciMaximum number of connections in the connection pool. See CURLOPT_MAXCONNECTS(3) 95413498266Sopenharmony_ci 95513498266Sopenharmony_ci## CURLOPT_FRESH_CONNECT 95613498266Sopenharmony_ci 95713498266Sopenharmony_ciUse a new connection. CURLOPT_FRESH_CONNECT(3) 95813498266Sopenharmony_ci 95913498266Sopenharmony_ci## CURLOPT_FORBID_REUSE 96013498266Sopenharmony_ci 96113498266Sopenharmony_ciPrevent subsequent connections from reusing this. See CURLOPT_FORBID_REUSE(3) 96213498266Sopenharmony_ci 96313498266Sopenharmony_ci## CURLOPT_MAXAGE_CONN 96413498266Sopenharmony_ci 96513498266Sopenharmony_ciLimit the age (idle time) of connections for reuse. See CURLOPT_MAXAGE_CONN(3) 96613498266Sopenharmony_ci 96713498266Sopenharmony_ci## CURLOPT_MAXLIFETIME_CONN 96813498266Sopenharmony_ci 96913498266Sopenharmony_ciLimit the age (since creation) of connections for reuse. See 97013498266Sopenharmony_ciCURLOPT_MAXLIFETIME_CONN(3) 97113498266Sopenharmony_ci 97213498266Sopenharmony_ci## CURLOPT_CONNECTTIMEOUT 97313498266Sopenharmony_ci 97413498266Sopenharmony_ciTimeout for the connection phase. See CURLOPT_CONNECTTIMEOUT(3) 97513498266Sopenharmony_ci 97613498266Sopenharmony_ci## CURLOPT_CONNECTTIMEOUT_MS 97713498266Sopenharmony_ci 97813498266Sopenharmony_ciMillisecond timeout for the connection phase. See CURLOPT_CONNECTTIMEOUT_MS(3) 97913498266Sopenharmony_ci 98013498266Sopenharmony_ci## CURLOPT_IPRESOLVE 98113498266Sopenharmony_ci 98213498266Sopenharmony_ciIP version to use. See CURLOPT_IPRESOLVE(3) 98313498266Sopenharmony_ci 98413498266Sopenharmony_ci## CURLOPT_CONNECT_ONLY 98513498266Sopenharmony_ci 98613498266Sopenharmony_ciOnly connect, nothing else. See CURLOPT_CONNECT_ONLY(3) 98713498266Sopenharmony_ci 98813498266Sopenharmony_ci## CURLOPT_USE_SSL 98913498266Sopenharmony_ci 99013498266Sopenharmony_ciUse TLS/SSL. See CURLOPT_USE_SSL(3) 99113498266Sopenharmony_ci 99213498266Sopenharmony_ci## CURLOPT_RESOLVE 99313498266Sopenharmony_ci 99413498266Sopenharmony_ciProvide fixed/fake name resolves. See CURLOPT_RESOLVE(3) 99513498266Sopenharmony_ci 99613498266Sopenharmony_ci## CURLOPT_DNS_INTERFACE 99713498266Sopenharmony_ci 99813498266Sopenharmony_ciBind name resolves to this interface. See CURLOPT_DNS_INTERFACE(3) 99913498266Sopenharmony_ci 100013498266Sopenharmony_ci## CURLOPT_DNS_LOCAL_IP4 100113498266Sopenharmony_ci 100213498266Sopenharmony_ciBind name resolves to this IP4 address. See CURLOPT_DNS_LOCAL_IP4(3) 100313498266Sopenharmony_ci 100413498266Sopenharmony_ci## CURLOPT_DNS_LOCAL_IP6 100513498266Sopenharmony_ci 100613498266Sopenharmony_ciBind name resolves to this IP6 address. See CURLOPT_DNS_LOCAL_IP6(3) 100713498266Sopenharmony_ci 100813498266Sopenharmony_ci## CURLOPT_DNS_SERVERS 100913498266Sopenharmony_ci 101013498266Sopenharmony_ciPreferred DNS servers. See CURLOPT_DNS_SERVERS(3) 101113498266Sopenharmony_ci 101213498266Sopenharmony_ci## CURLOPT_DNS_SHUFFLE_ADDRESSES 101313498266Sopenharmony_ci 101413498266Sopenharmony_ciShuffle addresses before use. See CURLOPT_DNS_SHUFFLE_ADDRESSES(3) 101513498266Sopenharmony_ci 101613498266Sopenharmony_ci## CURLOPT_ACCEPTTIMEOUT_MS 101713498266Sopenharmony_ci 101813498266Sopenharmony_ciTimeout for waiting for the server's connect back to be accepted. See 101913498266Sopenharmony_ciCURLOPT_ACCEPTTIMEOUT_MS(3) 102013498266Sopenharmony_ci 102113498266Sopenharmony_ci## CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS 102213498266Sopenharmony_ci 102313498266Sopenharmony_ciTimeout for happy eyeballs. See CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS(3) 102413498266Sopenharmony_ci 102513498266Sopenharmony_ci## CURLOPT_UPKEEP_INTERVAL_MS 102613498266Sopenharmony_ci 102713498266Sopenharmony_ciSets the interval at which connection upkeep are performed. See 102813498266Sopenharmony_ciCURLOPT_UPKEEP_INTERVAL_MS(3) 102913498266Sopenharmony_ci 103013498266Sopenharmony_ci# SSL and SECURITY OPTIONS 103113498266Sopenharmony_ci 103213498266Sopenharmony_ci## CURLOPT_SSLCERT 103313498266Sopenharmony_ci 103413498266Sopenharmony_ciClient cert. See CURLOPT_SSLCERT(3) 103513498266Sopenharmony_ci 103613498266Sopenharmony_ci## CURLOPT_SSLCERT_BLOB 103713498266Sopenharmony_ci 103813498266Sopenharmony_ciClient cert memory buffer. See CURLOPT_SSLCERT_BLOB(3) 103913498266Sopenharmony_ci 104013498266Sopenharmony_ci## CURLOPT_PROXY_SSLCERT 104113498266Sopenharmony_ci 104213498266Sopenharmony_ciProxy client cert. See CURLOPT_PROXY_SSLCERT(3) 104313498266Sopenharmony_ci 104413498266Sopenharmony_ci## CURLOPT_PROXY_SSLCERT_BLOB 104513498266Sopenharmony_ci 104613498266Sopenharmony_ciProxy client cert memory buffer. See CURLOPT_PROXY_SSLCERT_BLOB(3) 104713498266Sopenharmony_ci 104813498266Sopenharmony_ci## CURLOPT_SSLCERTTYPE 104913498266Sopenharmony_ci 105013498266Sopenharmony_ciClient cert type. See CURLOPT_SSLCERTTYPE(3) 105113498266Sopenharmony_ci 105213498266Sopenharmony_ci## CURLOPT_PROXY_SSLCERTTYPE 105313498266Sopenharmony_ci 105413498266Sopenharmony_ciProxy client cert type. See CURLOPT_PROXY_SSLCERTTYPE(3) 105513498266Sopenharmony_ci 105613498266Sopenharmony_ci## CURLOPT_SSLKEY 105713498266Sopenharmony_ci 105813498266Sopenharmony_ciClient key. See CURLOPT_SSLKEY(3) 105913498266Sopenharmony_ci 106013498266Sopenharmony_ci## CURLOPT_SSLKEY_BLOB 106113498266Sopenharmony_ci 106213498266Sopenharmony_ciClient key memory buffer. See CURLOPT_SSLKEY_BLOB(3) 106313498266Sopenharmony_ci 106413498266Sopenharmony_ci## CURLOPT_PROXY_SSLKEY 106513498266Sopenharmony_ci 106613498266Sopenharmony_ciProxy client key. See CURLOPT_PROXY_SSLKEY(3) 106713498266Sopenharmony_ci 106813498266Sopenharmony_ci## CURLOPT_PROXY_SSLKEY_BLOB 106913498266Sopenharmony_ci 107013498266Sopenharmony_ciProxy client key. See CURLOPT_PROXY_SSLKEY_BLOB(3) 107113498266Sopenharmony_ci 107213498266Sopenharmony_ci## CURLOPT_SSLKEYTYPE 107313498266Sopenharmony_ci 107413498266Sopenharmony_ciClient key type. See CURLOPT_SSLKEYTYPE(3) 107513498266Sopenharmony_ci 107613498266Sopenharmony_ci## CURLOPT_PROXY_SSLKEYTYPE 107713498266Sopenharmony_ci 107813498266Sopenharmony_ciProxy client key type. See CURLOPT_PROXY_SSLKEYTYPE(3) 107913498266Sopenharmony_ci 108013498266Sopenharmony_ci## CURLOPT_KEYPASSWD 108113498266Sopenharmony_ci 108213498266Sopenharmony_ciClient key password. See CURLOPT_KEYPASSWD(3) 108313498266Sopenharmony_ci 108413498266Sopenharmony_ci## CURLOPT_PROXY_KEYPASSWD 108513498266Sopenharmony_ci 108613498266Sopenharmony_ciProxy client key password. See CURLOPT_PROXY_KEYPASSWD(3) 108713498266Sopenharmony_ci 108813498266Sopenharmony_ci## CURLOPT_SSL_EC_CURVES 108913498266Sopenharmony_ci 109013498266Sopenharmony_ciSet key exchange curves. See CURLOPT_SSL_EC_CURVES(3) 109113498266Sopenharmony_ci 109213498266Sopenharmony_ci## CURLOPT_SSL_ENABLE_ALPN 109313498266Sopenharmony_ci 109413498266Sopenharmony_ciEnable use of ALPN. See CURLOPT_SSL_ENABLE_ALPN(3) 109513498266Sopenharmony_ci 109613498266Sopenharmony_ci## CURLOPT_SSL_ENABLE_NPN 109713498266Sopenharmony_ci 109813498266Sopenharmony_ci**OBSOLETE** Enable use of NPN. See CURLOPT_SSL_ENABLE_NPN(3) 109913498266Sopenharmony_ci 110013498266Sopenharmony_ci## CURLOPT_SSLENGINE 110113498266Sopenharmony_ci 110213498266Sopenharmony_ciUse identifier with SSL engine. See CURLOPT_SSLENGINE(3) 110313498266Sopenharmony_ci 110413498266Sopenharmony_ci## CURLOPT_SSLENGINE_DEFAULT 110513498266Sopenharmony_ci 110613498266Sopenharmony_ciDefault SSL engine. See CURLOPT_SSLENGINE_DEFAULT(3) 110713498266Sopenharmony_ci 110813498266Sopenharmony_ci## CURLOPT_SSL_FALSESTART 110913498266Sopenharmony_ci 111013498266Sopenharmony_ciEnable TLS False Start. See CURLOPT_SSL_FALSESTART(3) 111113498266Sopenharmony_ci 111213498266Sopenharmony_ci## CURLOPT_SSLVERSION 111313498266Sopenharmony_ci 111413498266Sopenharmony_ciSSL version to use. See CURLOPT_SSLVERSION(3) 111513498266Sopenharmony_ci 111613498266Sopenharmony_ci## CURLOPT_PROXY_SSLVERSION 111713498266Sopenharmony_ci 111813498266Sopenharmony_ciProxy SSL version to use. See CURLOPT_PROXY_SSLVERSION(3) 111913498266Sopenharmony_ci 112013498266Sopenharmony_ci## CURLOPT_SSL_VERIFYHOST 112113498266Sopenharmony_ci 112213498266Sopenharmony_ciVerify the hostname in the SSL certificate. See CURLOPT_SSL_VERIFYHOST(3) 112313498266Sopenharmony_ci 112413498266Sopenharmony_ci## CURLOPT_DOH_SSL_VERIFYHOST 112513498266Sopenharmony_ci 112613498266Sopenharmony_ciVerify the hostname in the DoH (DNS-over-HTTPS) SSL certificate. See 112713498266Sopenharmony_ciCURLOPT_DOH_SSL_VERIFYHOST(3) 112813498266Sopenharmony_ci 112913498266Sopenharmony_ci## CURLOPT_PROXY_SSL_VERIFYHOST 113013498266Sopenharmony_ci 113113498266Sopenharmony_ciVerify the hostname in the proxy SSL certificate. See 113213498266Sopenharmony_ciCURLOPT_PROXY_SSL_VERIFYHOST(3) 113313498266Sopenharmony_ci 113413498266Sopenharmony_ci## CURLOPT_SSL_VERIFYPEER 113513498266Sopenharmony_ci 113613498266Sopenharmony_ciVerify the SSL certificate. See CURLOPT_SSL_VERIFYPEER(3) 113713498266Sopenharmony_ci 113813498266Sopenharmony_ci## CURLOPT_DOH_SSL_VERIFYPEER 113913498266Sopenharmony_ci 114013498266Sopenharmony_ciVerify the DoH (DNS-over-HTTPS) SSL certificate. See 114113498266Sopenharmony_ciCURLOPT_DOH_SSL_VERIFYPEER(3) 114213498266Sopenharmony_ci 114313498266Sopenharmony_ci## CURLOPT_PROXY_SSL_VERIFYPEER 114413498266Sopenharmony_ci 114513498266Sopenharmony_ciVerify the proxy SSL certificate. See CURLOPT_PROXY_SSL_VERIFYPEER(3) 114613498266Sopenharmony_ci 114713498266Sopenharmony_ci## CURLOPT_SSL_VERIFYSTATUS 114813498266Sopenharmony_ci 114913498266Sopenharmony_ciVerify the SSL certificate's status. See CURLOPT_SSL_VERIFYSTATUS(3) 115013498266Sopenharmony_ci 115113498266Sopenharmony_ci## CURLOPT_DOH_SSL_VERIFYSTATUS 115213498266Sopenharmony_ci 115313498266Sopenharmony_ciVerify the DoH (DNS-over-HTTPS) SSL certificate's status. See 115413498266Sopenharmony_ciCURLOPT_DOH_SSL_VERIFYSTATUS(3) 115513498266Sopenharmony_ci 115613498266Sopenharmony_ci## CURLOPT_CAINFO 115713498266Sopenharmony_ci 115813498266Sopenharmony_ciCA cert bundle. See CURLOPT_CAINFO(3) 115913498266Sopenharmony_ci 116013498266Sopenharmony_ci## CURLOPT_CAINFO_BLOB 116113498266Sopenharmony_ci 116213498266Sopenharmony_ciCA cert bundle memory buffer. See CURLOPT_CAINFO_BLOB(3) 116313498266Sopenharmony_ci 116413498266Sopenharmony_ci## CURLOPT_PROXY_CAINFO 116513498266Sopenharmony_ci 116613498266Sopenharmony_ciProxy CA cert bundle. See CURLOPT_PROXY_CAINFO(3) 116713498266Sopenharmony_ci 116813498266Sopenharmony_ci## CURLOPT_PROXY_CAINFO_BLOB 116913498266Sopenharmony_ci 117013498266Sopenharmony_ciProxy CA cert bundle memory buffer. See CURLOPT_PROXY_CAINFO_BLOB(3) 117113498266Sopenharmony_ci 117213498266Sopenharmony_ci## CURLOPT_ISSUERCERT 117313498266Sopenharmony_ci 117413498266Sopenharmony_ciIssuer certificate. See CURLOPT_ISSUERCERT(3) 117513498266Sopenharmony_ci 117613498266Sopenharmony_ci## CURLOPT_ISSUERCERT_BLOB 117713498266Sopenharmony_ci 117813498266Sopenharmony_ciIssuer certificate memory buffer. See CURLOPT_ISSUERCERT_BLOB(3) 117913498266Sopenharmony_ci 118013498266Sopenharmony_ci## CURLOPT_PROXY_ISSUERCERT 118113498266Sopenharmony_ci 118213498266Sopenharmony_ciProxy issuer certificate. See CURLOPT_PROXY_ISSUERCERT(3) 118313498266Sopenharmony_ci 118413498266Sopenharmony_ci## CURLOPT_PROXY_ISSUERCERT_BLOB 118513498266Sopenharmony_ci 118613498266Sopenharmony_ciProxy issuer certificate memory buffer. See CURLOPT_PROXY_ISSUERCERT_BLOB(3) 118713498266Sopenharmony_ci 118813498266Sopenharmony_ci## CURLOPT_CAPATH 118913498266Sopenharmony_ci 119013498266Sopenharmony_ciPath to CA cert bundle. See CURLOPT_CAPATH(3) 119113498266Sopenharmony_ci 119213498266Sopenharmony_ci## CURLOPT_PROXY_CAPATH 119313498266Sopenharmony_ci 119413498266Sopenharmony_ciPath to proxy CA cert bundle. See CURLOPT_PROXY_CAPATH(3) 119513498266Sopenharmony_ci 119613498266Sopenharmony_ci## CURLOPT_CRLFILE 119713498266Sopenharmony_ci 119813498266Sopenharmony_ciCertificate Revocation List. See CURLOPT_CRLFILE(3) 119913498266Sopenharmony_ci 120013498266Sopenharmony_ci## CURLOPT_PROXY_CRLFILE 120113498266Sopenharmony_ci 120213498266Sopenharmony_ciProxy Certificate Revocation List. See CURLOPT_PROXY_CRLFILE(3) 120313498266Sopenharmony_ci 120413498266Sopenharmony_ci## CURLOPT_CA_CACHE_TIMEOUT 120513498266Sopenharmony_ci 120613498266Sopenharmony_ciTimeout for CA cache. See CURLOPT_CA_CACHE_TIMEOUT(3) 120713498266Sopenharmony_ci 120813498266Sopenharmony_ci## CURLOPT_CERTINFO 120913498266Sopenharmony_ci 121013498266Sopenharmony_ciExtract certificate info. See CURLOPT_CERTINFO(3) 121113498266Sopenharmony_ci 121213498266Sopenharmony_ci## CURLOPT_PINNEDPUBLICKEY 121313498266Sopenharmony_ci 121413498266Sopenharmony_ciSet pinned SSL public key . See CURLOPT_PINNEDPUBLICKEY(3) 121513498266Sopenharmony_ci 121613498266Sopenharmony_ci## CURLOPT_PROXY_PINNEDPUBLICKEY 121713498266Sopenharmony_ci 121813498266Sopenharmony_ciSet the proxy's pinned SSL public key. See 121913498266Sopenharmony_ciCURLOPT_PROXY_PINNEDPUBLICKEY(3) 122013498266Sopenharmony_ci 122113498266Sopenharmony_ci## CURLOPT_RANDOM_FILE 122213498266Sopenharmony_ci 122313498266Sopenharmony_ci**OBSOLETE** Provide source for entropy random data. 122413498266Sopenharmony_ciSee CURLOPT_RANDOM_FILE(3) 122513498266Sopenharmony_ci 122613498266Sopenharmony_ci## CURLOPT_EGDSOCKET 122713498266Sopenharmony_ci 122813498266Sopenharmony_ci**OBSOLETE** Identify EGD socket for entropy. See CURLOPT_EGDSOCKET(3) 122913498266Sopenharmony_ci 123013498266Sopenharmony_ci## CURLOPT_SSL_CIPHER_LIST 123113498266Sopenharmony_ci 123213498266Sopenharmony_ciCiphers to use. See CURLOPT_SSL_CIPHER_LIST(3) 123313498266Sopenharmony_ci 123413498266Sopenharmony_ci## CURLOPT_PROXY_SSL_CIPHER_LIST 123513498266Sopenharmony_ci 123613498266Sopenharmony_ciProxy ciphers to use. See CURLOPT_PROXY_SSL_CIPHER_LIST(3) 123713498266Sopenharmony_ci 123813498266Sopenharmony_ci## CURLOPT_TLS13_CIPHERS 123913498266Sopenharmony_ci 124013498266Sopenharmony_ciTLS 1.3 cipher suites to use. See CURLOPT_TLS13_CIPHERS(3) 124113498266Sopenharmony_ci 124213498266Sopenharmony_ci## CURLOPT_PROXY_TLS13_CIPHERS 124313498266Sopenharmony_ci 124413498266Sopenharmony_ciProxy TLS 1.3 cipher suites to use. See CURLOPT_PROXY_TLS13_CIPHERS(3) 124513498266Sopenharmony_ci 124613498266Sopenharmony_ci## CURLOPT_SSL_SESSIONID_CACHE 124713498266Sopenharmony_ci 124813498266Sopenharmony_ciDisable SSL session-id cache. See CURLOPT_SSL_SESSIONID_CACHE(3) 124913498266Sopenharmony_ci 125013498266Sopenharmony_ci## CURLOPT_SSL_OPTIONS 125113498266Sopenharmony_ci 125213498266Sopenharmony_ciControl SSL behavior. See CURLOPT_SSL_OPTIONS(3) 125313498266Sopenharmony_ci 125413498266Sopenharmony_ci## CURLOPT_PROXY_SSL_OPTIONS 125513498266Sopenharmony_ci 125613498266Sopenharmony_ciControl proxy SSL behavior. See CURLOPT_PROXY_SSL_OPTIONS(3) 125713498266Sopenharmony_ci 125813498266Sopenharmony_ci## CURLOPT_KRBLEVEL 125913498266Sopenharmony_ci 126013498266Sopenharmony_ciKerberos security level. See CURLOPT_KRBLEVEL(3) 126113498266Sopenharmony_ci 126213498266Sopenharmony_ci## CURLOPT_GSSAPI_DELEGATION 126313498266Sopenharmony_ci 126413498266Sopenharmony_ciDisable GSS-API delegation. See CURLOPT_GSSAPI_DELEGATION(3) 126513498266Sopenharmony_ci 126613498266Sopenharmony_ci# SSH OPTIONS 126713498266Sopenharmony_ci 126813498266Sopenharmony_ci## CURLOPT_SSH_AUTH_TYPES 126913498266Sopenharmony_ci 127013498266Sopenharmony_ciSSH authentication types. See CURLOPT_SSH_AUTH_TYPES(3) 127113498266Sopenharmony_ci 127213498266Sopenharmony_ci## CURLOPT_SSH_COMPRESSION 127313498266Sopenharmony_ci 127413498266Sopenharmony_ciEnable SSH compression. See CURLOPT_SSH_COMPRESSION(3) 127513498266Sopenharmony_ci 127613498266Sopenharmony_ci## CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 127713498266Sopenharmony_ci 127813498266Sopenharmony_ciMD5 of host's public key. See CURLOPT_SSH_HOST_PUBLIC_KEY_MD5(3) 127913498266Sopenharmony_ci 128013498266Sopenharmony_ci## CURLOPT_SSH_HOST_PUBLIC_KEY_SHA256 128113498266Sopenharmony_ci 128213498266Sopenharmony_ciSHA256 of host's public key. See CURLOPT_SSH_HOST_PUBLIC_KEY_SHA256(3) 128313498266Sopenharmony_ci 128413498266Sopenharmony_ci## CURLOPT_SSH_PUBLIC_KEYFILE 128513498266Sopenharmony_ci 128613498266Sopenharmony_ciFilename of the public key. See CURLOPT_SSH_PUBLIC_KEYFILE(3) 128713498266Sopenharmony_ci 128813498266Sopenharmony_ci## CURLOPT_SSH_PRIVATE_KEYFILE 128913498266Sopenharmony_ci 129013498266Sopenharmony_ciFilename of the private key. See CURLOPT_SSH_PRIVATE_KEYFILE(3) 129113498266Sopenharmony_ci 129213498266Sopenharmony_ci## CURLOPT_SSH_KNOWNHOSTS 129313498266Sopenharmony_ci 129413498266Sopenharmony_ciFilename with known hosts. See CURLOPT_SSH_KNOWNHOSTS(3) 129513498266Sopenharmony_ci 129613498266Sopenharmony_ci## CURLOPT_SSH_KEYFUNCTION 129713498266Sopenharmony_ci 129813498266Sopenharmony_ciCallback for known hosts handling. See CURLOPT_SSH_KEYFUNCTION(3) 129913498266Sopenharmony_ci 130013498266Sopenharmony_ci## CURLOPT_SSH_KEYDATA 130113498266Sopenharmony_ci 130213498266Sopenharmony_ciCustom pointer to pass to ssh key callback. See CURLOPT_SSH_KEYDATA(3) 130313498266Sopenharmony_ci 130413498266Sopenharmony_ci## CURLOPT_SSH_HOSTKEYFUNCTION 130513498266Sopenharmony_ci 130613498266Sopenharmony_ciCallback for checking host key handling. See CURLOPT_SSH_HOSTKEYFUNCTION(3) 130713498266Sopenharmony_ci 130813498266Sopenharmony_ci## CURLOPT_SSH_HOSTKEYDATA 130913498266Sopenharmony_ci 131013498266Sopenharmony_ciCustom pointer to pass to ssh host key callback. See CURLOPT_SSH_HOSTKEYDATA(3) 131113498266Sopenharmony_ci 131213498266Sopenharmony_ci# WEBSOCKET 131313498266Sopenharmony_ci 131413498266Sopenharmony_ci## CURLOPT_WS_OPTIONS 131513498266Sopenharmony_ci 131613498266Sopenharmony_ciSet WebSocket options. See CURLOPT_WS_OPTIONS(3) 131713498266Sopenharmony_ci 131813498266Sopenharmony_ci# OTHER OPTIONS 131913498266Sopenharmony_ci 132013498266Sopenharmony_ci## CURLOPT_PRIVATE 132113498266Sopenharmony_ci 132213498266Sopenharmony_ciPrivate pointer to store. See CURLOPT_PRIVATE(3) 132313498266Sopenharmony_ci 132413498266Sopenharmony_ci## CURLOPT_SHARE 132513498266Sopenharmony_ci 132613498266Sopenharmony_ciShare object to use. See CURLOPT_SHARE(3) 132713498266Sopenharmony_ci 132813498266Sopenharmony_ci## CURLOPT_NEW_FILE_PERMS 132913498266Sopenharmony_ci 133013498266Sopenharmony_ciMode for creating new remote files. See CURLOPT_NEW_FILE_PERMS(3) 133113498266Sopenharmony_ci 133213498266Sopenharmony_ci## CURLOPT_NEW_DIRECTORY_PERMS 133313498266Sopenharmony_ci 133413498266Sopenharmony_ciMode for creating new remote directories. See CURLOPT_NEW_DIRECTORY_PERMS(3) 133513498266Sopenharmony_ci 133613498266Sopenharmony_ci## CURLOPT_QUICK_EXIT 133713498266Sopenharmony_ci 133813498266Sopenharmony_ciTo be set by toplevel tools like "curl" to skip lengthy cleanups when they are 133913498266Sopenharmony_ciabout to call exit() anyway. See CURLOPT_QUICK_EXIT(3) 134013498266Sopenharmony_ci 134113498266Sopenharmony_ci# TELNET OPTIONS 134213498266Sopenharmony_ci 134313498266Sopenharmony_ci## CURLOPT_TELNETOPTIONS 134413498266Sopenharmony_ci 134513498266Sopenharmony_ciTELNET options. See CURLOPT_TELNETOPTIONS(3) 134613498266Sopenharmony_ci 134713498266Sopenharmony_ci# EXAMPLE 134813498266Sopenharmony_ci 134913498266Sopenharmony_ci~~~c 135013498266Sopenharmony_ciint main(void) 135113498266Sopenharmony_ci{ 135213498266Sopenharmony_ci CURL *curl = curl_easy_init(); 135313498266Sopenharmony_ci if(curl) { 135413498266Sopenharmony_ci CURLcode res; 135513498266Sopenharmony_ci curl_easy_setopt(curl, CURLOPT_URL, "https://example.com"); 135613498266Sopenharmony_ci res = curl_easy_perform(curl); 135713498266Sopenharmony_ci curl_easy_cleanup(curl); 135813498266Sopenharmony_ci } 135913498266Sopenharmony_ci} 136013498266Sopenharmony_ci~~~ 136113498266Sopenharmony_ci 136213498266Sopenharmony_ci# AVAILABILITY 136313498266Sopenharmony_ci 136413498266Sopenharmony_ciAlways 136513498266Sopenharmony_ci 136613498266Sopenharmony_ci# RETURN VALUE 136713498266Sopenharmony_ci 136813498266Sopenharmony_ci*CURLE_OK* (zero) means that the option was set properly, non-zero means an 136913498266Sopenharmony_cierror occurred as *<curl/curl.h>* defines. See the libcurl-errors(3) man page 137013498266Sopenharmony_cifor the full list with descriptions. 137113498266Sopenharmony_ci 137213498266Sopenharmony_ciStrings passed on to libcurl must be shorter than 8000000 bytes, otherwise 137313498266Sopenharmony_cicurl_easy_setopt(3) returns **CURLE_BAD_FUNCTION_ARGUMENT** (added in 7.65.0). 137413498266Sopenharmony_ci 137513498266Sopenharmony_ci**CURLE_BAD_FUNCTION_ARGUMENT** is returned when the argument to an option is 137613498266Sopenharmony_ciinvalid, like perhaps out of range. 137713498266Sopenharmony_ci 137813498266Sopenharmony_ciIf you try to set an option that libcurl does not know about, perhaps because 137913498266Sopenharmony_cithe library is too old to support it or the option was removed in a recent 138013498266Sopenharmony_civersion, this function returns *CURLE_UNKNOWN_OPTION*. If support for the 138113498266Sopenharmony_cioption was disabled at compile-time, it returns *CURLE_NOT_BUILT_IN*. 1382