curl / libcurl / API / Examples / Options Used By Examples

Options Used By Examples

This list shows examples that use specific options. If there is no example listed for the given option, please consider to write one up and send us!

OptionExamples
CURLOPT_ABSTRACT_UNIX_SOCKETunixsocket.c
CURLOPT_ACCEPTTIMEOUT_MSftpuploadresume.c
CURLOPT_ACCEPT_ENCODINGcrawler.c
CURLOPT_ADDRESS_SCOPEaddress-scope.c
CURLOPT_ALTSVCaltsvc.c
CURLOPT_ALTSVC_CTRLaltsvc.c
CURLOPT_APPENDsftpuploadresume.c ftpuploadresume.c
CURLOPT_AUTOREFERERcrawler.c
CURLOPT_AWS_SIGV4 
CURLOPT_BUFFERSIZEhttp2-download.c
CURLOPT_CAINFOcacertinmem.c simplessl.c imap-tls.c smtp-tls.c pop3-tls.c
CURLOPT_CAINFO_BLOB 
CURLOPT_CAPATHcacertinmem.c smtp-ssl.c https.c imap-tls.c imap-ssl.c
CURLOPT_CA_CACHE_TIMEOUThttps.c
CURLOPT_CERTINFOcertinfo.c
CURLOPT_CHUNK_BGN_FUNCTIONftp-wildcard.c
CURLOPT_CHUNK_DATAftp-wildcard.c
CURLOPT_CHUNK_END_FUNCTIONftp-wildcard.c
CURLOPT_CLOSESOCKETDATAexternalsocket.c
CURLOPT_CLOSESOCKETFUNCTIONexternalsocket.c
CURLOPT_CONNECTTIMEOUTghiper.c
CURLOPT_CONNECTTIMEOUT_MScrawler.c
CURLOPT_CONNECT_ONLYwebsocket.c sendrecv.c
CURLOPT_CONNECT_TOconnect-to.c
CURLOPT_COOKIE 
CURLOPT_COOKIEFILEcookie_interface.c crawler.c
CURLOPT_COOKIEJAR 
CURLOPT_COOKIELISTcookie_interface.c
CURLOPT_COOKIESESSION 
CURLOPT_COPYPOSTFIELDS 
CURLOPT_CRLF 
CURLOPT_CRLFILE 
CURLOPT_CURLUurlapi.c
CURLOPT_CUSTOMREQUESTpop3-top.c httpput-postfields.c http-options.c imap-noop.c
CURLOPT_DEBUGDATAhttp2-upload.c debug.c http2-download.c
CURLOPT_DEBUGFUNCTIONmulti-debugcallback.c http2-serverpush.c http2-upload.c debug.c
CURLOPT_DEFAULT_PROTOCOLdefault-scheme.c
CURLOPT_DIRLISTONLY 
CURLOPT_DISALLOW_USERNAME_IN_URL 
CURLOPT_DNS_CACHE_TIMEOUT 
CURLOPT_DNS_INTERFACE 
CURLOPT_DNS_LOCAL_IP4 
CURLOPT_DNS_LOCAL_IP6 
CURLOPT_DNS_SERVERS 
CURLOPT_DNS_SHUFFLE_ADDRESSES 
CURLOPT_DOH_SSL_VERIFYHOST 
CURLOPT_DOH_SSL_VERIFYPEER 
CURLOPT_DOH_SSL_VERIFYSTATUS 
CURLOPT_DOH_URL 
CURLOPT_ECH 
CURLOPT_ERRORBUFFERhtmltidy.c htmltitle.cpp evhiperfifo.c ephiperfifo.c hiperfifo.c
CURLOPT_EXPECT_100_TIMEOUT_MScrawler.c
CURLOPT_FAILONERROR 
CURLOPT_FILETIMEsftpuploadresume.c ftpgetinfo.c crawler.c
CURLOPT_FNMATCH_DATA 
CURLOPT_FNMATCH_FUNCTION 
CURLOPT_FOLLOWLOCATIONhref_extractor.c htmltitle.cpp headerapi.c simple.c debug.c
CURLOPT_FORBID_REUSE 
CURLOPT_FRESH_CONNECTcacertinmem.c
CURLOPT_FTPPORTftpuploadresume.c
CURLOPT_FTPSSLAUTH 
CURLOPT_FTP_ACCOUNT 
CURLOPT_FTP_ALTERNATIVE_TO_USER 
CURLOPT_FTP_CREATE_MISSING_DIRSftpuploadresume.c
CURLOPT_FTP_FILEMETHOD 
CURLOPT_FTP_SKIP_PASV_IP 
CURLOPT_FTP_SSL_CCC 
CURLOPT_FTP_USE_EPRT 
CURLOPT_FTP_USE_EPSV 
CURLOPT_FTP_USE_PRET 
CURLOPT_GSSAPI_DELEGATION 
CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS 
CURLOPT_HAPROXYPROTOCOL 
CURLOPT_HAPROXY_CLIENT_IP 
CURLOPT_HEADERcacertinmem.c sftpuploadresume.c ftpgetinfo.c ftpuploadresume.c
CURLOPT_HEADERDATAcacertinmem.c ftpgetresp.c ftpuploadresume.c simplessl.c sepheaders.c
CURLOPT_HEADERFUNCTIONcacertinmem.c ftpgetresp.c ftpgetinfo.c ftpuploadresume.c synctime.c
CURLOPT_HEADEROPT 
CURLOPT_HSTS 
CURLOPT_HSTSREADDATAhsts-preload.c
CURLOPT_HSTSREADFUNCTIONhsts-preload.c
CURLOPT_HSTSWRITEDATAhsts-preload.c
CURLOPT_HSTSWRITEFUNCTIONhsts-preload.c
CURLOPT_HSTS_CTRLhsts-preload.c
CURLOPT_HTTP09_ALLOWED 
CURLOPT_HTTP200ALIASES 
CURLOPT_HTTPAUTHanyauthput.c crawler.c
CURLOPT_HTTPGET 
CURLOPT_HTTPHEADERpost-callback.c
CURLOPT_HTTPPROXYTUNNEL 
CURLOPT_HTTP_CONTENT_DECODING 
CURLOPT_HTTP_TRANSFER_DECODING 
CURLOPT_HTTP_VERSIONhttp2-serverpush.c http2-upload.c http2-pushinmemory.c crawler.c http3.c
CURLOPT_IGNORE_CONTENT_LENGTH 
CURLOPT_INFILESIZEftpupload.c imap-append.c
CURLOPT_INFILESIZE_LARGEftpuploadfrommem.c ftpupload.c fileupload.c anyauthput.c httpput.c
CURLOPT_INTERFACEinterface.c
CURLOPT_INTERLEAVEDATA 
CURLOPT_INTERLEAVEFUNCTION 
CURLOPT_IPRESOLVEipv6.c
CURLOPT_ISSUERCERT 
CURLOPT_ISSUERCERT_BLOB 
CURLOPT_KEEP_SENDING_ON_ERROR 
CURLOPT_KEYPASSWDsimplessl.c
CURLOPT_KRBLEVEL 
CURLOPT_LOCALPORTlocalport.c
CURLOPT_LOCALPORTRANGElocalport.c
CURLOPT_LOGIN_OPTIONSpop3-authzid.c smtp-authzid.c imap-authzid.c
CURLOPT_LOW_SPEED_LIMITevhiperfifo.c ephiperfifo.c ghiper.c
CURLOPT_LOW_SPEED_TIMEevhiperfifo.c ephiperfifo.c ghiper.c
CURLOPT_MAIL_AUTH 
CURLOPT_MAIL_FROMsmtp-mime.c smtp-multi.c smtp-ssl.c smtp-authzid.c smtp-tls.c
CURLOPT_MAIL_RCPTsmtp-mime.c smtp-expn.c smtp-multi.c
CURLOPT_MAIL_RCPT_ALLOWFAILSsmtp-mime.c
CURLOPT_MAXAGE_CONN 
CURLOPT_MAXCONNECTSmaxconnects.c
CURLOPT_MAXFILESIZE 
CURLOPT_MAXFILESIZE_LARGEcrawler.c
CURLOPT_MAXLIFETIME_CONN 
CURLOPT_MAXREDIRScrawler.c
CURLOPT_MAX_RECV_SPEED_LARGE 
CURLOPT_MAX_SEND_SPEED_LARGE 
CURLOPT_MIMEPOSTsmtp-mime.c multi-post.c postit2.c
CURLOPT_MIME_OPTIONS 
CURLOPT_NETRCnetrc.c
CURLOPT_NETRC_FILEnetrc.c
CURLOPT_NEW_DIRECTORY_PERMS 
CURLOPT_NEW_FILE_PERMS 
CURLOPT_NOBODYsftpuploadresume.c ftpgetinfo.c ftpuploadresume.c synctime.c
CURLOPT_NOPROGRESScacertinmem.c sftpuploadresume.c htmltidy.c url2file.c externalsocket.c
CURLOPT_NOPROXY 
CURLOPT_NOSIGNALcacertinmem.c usercertinmem.c
CURLOPT_OPENSOCKETDATAexternalsocket.c
CURLOPT_OPENSOCKETFUNCTIONexternalsocket.c
CURLOPT_PASSWORDpop3-top.c pop3-retr.c pop3-multi.c pop3-authzid.c imap-noop.c
CURLOPT_PATH_AS_IS 
CURLOPT_PINNEDPUBLICKEY 
CURLOPT_PIPEWAIThttp2-serverpush.c http2-upload.c http2-pushinmemory.c http2-download.c
CURLOPT_PORT 
CURLOPT_POSTpost-callback.c
CURLOPT_POSTFIELDShttp-post.c httpput-postfields.c
CURLOPT_POSTFIELDSIZEpost-callback.c httpput-postfields.c postinmemory.c simplepost.c
CURLOPT_POSTFIELDSIZE_LARGEpost-callback.c
CURLOPT_POSTQUOTEftpupload.c
CURLOPT_POSTREDIR 
CURLOPT_PREQUOTE 
CURLOPT_PREREQDATA 
CURLOPT_PREREQFUNCTION 
CURLOPT_PRE_PROXY 
CURLOPT_PRIVATE10-at-a-time.c multi-uv.c evhiperfifo.c ephiperfifo.c hiperfifo.c
CURLOPT_PROTOCOLS_STRurlapi.c
CURLOPT_PROXYsynctime.c
CURLOPT_PROXYAUTHcrawler.c
CURLOPT_PROXYHEADER 
CURLOPT_PROXYPASSWORD 
CURLOPT_PROXYPORT 
CURLOPT_PROXYTYPE 
CURLOPT_PROXYUSERNAME 
CURLOPT_PROXYUSERPWDsynctime.c
CURLOPT_PROXY_CAINFO 
CURLOPT_PROXY_CAINFO_BLOB 
CURLOPT_PROXY_CAPATH 
CURLOPT_PROXY_CRLFILE 
CURLOPT_PROXY_ISSUERCERT 
CURLOPT_PROXY_ISSUERCERT_BLOB 
CURLOPT_PROXY_KEYPASSWD 
CURLOPT_PROXY_PINNEDPUBLICKEY 
CURLOPT_PROXY_SERVICE_NAME 
CURLOPT_PROXY_SSLCERT 
CURLOPT_PROXY_SSLCERTTYPE 
CURLOPT_PROXY_SSLCERT_BLOB 
CURLOPT_PROXY_SSLKEY 
CURLOPT_PROXY_SSLKEYTYPE 
CURLOPT_PROXY_SSLKEY_BLOB 
CURLOPT_PROXY_SSLVERSION 
CURLOPT_PROXY_SSL_CIPHER_LIST 
CURLOPT_PROXY_SSL_OPTIONS 
CURLOPT_PROXY_SSL_VERIFYHOST 
CURLOPT_PROXY_SSL_VERIFYPEER 
CURLOPT_PROXY_TLS13_CIPHERS 
CURLOPT_PROXY_TLSAUTH_PASSWORD 
CURLOPT_PROXY_TLSAUTH_TYPE 
CURLOPT_PROXY_TLSAUTH_USERNAME 
CURLOPT_PROXY_TRANSFER_MODE 
CURLOPT_QUICK_EXIThttp-options.c
CURLOPT_QUOTE 
CURLOPT_RANGErange.c
CURLOPT_READDATAftpuploadfrommem.c post-callback.c ftpupload.c fileupload.c anyauthput.c
CURLOPT_READFUNCTIONftpuploadfrommem.c post-callback.c ftpupload.c anyauthput.c
CURLOPT_REDIR_PROTOCOLS_STRcrawler.c
CURLOPT_REFERERgetreferrer.c
CURLOPT_REQUEST_TARGEThttp-options.c
CURLOPT_RESOLVEresolve.c
CURLOPT_RESOLVER_START_DATA 
CURLOPT_RESOLVER_START_FUNCTION 
CURLOPT_RESUME_FROM 
CURLOPT_RESUME_FROM_LARGE 
CURLOPT_RTSP_CLIENT_CSEQ 
CURLOPT_RTSP_REQUESTrtsp-options.c
CURLOPT_RTSP_SERVER_CSEQ 
CURLOPT_RTSP_SESSION_IDrtsp-options.c
CURLOPT_RTSP_STREAM_URI 
CURLOPT_RTSP_TRANSPORT 
CURLOPT_SASL_AUTHZIDpop3-authzid.c smtp-authzid.c imap-authzid.c
CURLOPT_SASL_IR 
CURLOPT_SEEKDATAanyauthput.c
CURLOPT_SEEKFUNCTIONanyauthput.c
CURLOPT_SERVER_RESPONSE_TIMEOUTftpuploadresume.c
CURLOPT_SERVER_RESPONSE_TIMEOUT_MS 
CURLOPT_SERVICE_NAME 
CURLOPT_SHAREshared-connection-cache.c
CURLOPT_SOCKOPTDATA 
CURLOPT_SOCKOPTFUNCTIONexternalsocket.c
CURLOPT_SOCKS5_AUTH 
CURLOPT_SOCKS5_GSSAPI_NEC 
CURLOPT_SSH_AUTH_TYPESsftpget.c
CURLOPT_SSH_COMPRESSION 
CURLOPT_SSH_HOSTKEYDATA 
CURLOPT_SSH_HOSTKEYFUNCTION 
CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 
CURLOPT_SSH_HOST_PUBLIC_KEY_SHA256 
CURLOPT_SSH_KEYDATA 
CURLOPT_SSH_KEYFUNCTION 
CURLOPT_SSH_KNOWNHOSTS 
CURLOPT_SSH_PRIVATE_KEYFILE 
CURLOPT_SSH_PUBLIC_KEYFILE 
CURLOPT_SSLCERTsimplessl.c
CURLOPT_SSLCERTTYPEcacertinmem.c simplessl.c usercertinmem.c
CURLOPT_SSLCERT_BLOB 
CURLOPT_SSLENGINEsimplessl.c
CURLOPT_SSLENGINE_DEFAULTsimplessl.c
CURLOPT_SSLKEYsimplessl.c
CURLOPT_SSLKEYTYPEsimplessl.c usercertinmem.c
CURLOPT_SSLKEY_BLOB 
CURLOPT_SSLVERSION 
CURLOPT_SSL_CIPHER_LIST 
CURLOPT_SSL_CTX_DATA 
CURLOPT_SSL_CTX_FUNCTIONcacertinmem.c usercertinmem.c
CURLOPT_SSL_EC_CURVES 
CURLOPT_SSL_ENABLE_ALPN 
CURLOPT_SSL_FALSESTART 
CURLOPT_SSL_OPTIONS 
CURLOPT_SSL_SESSIONID_CACHE 
CURLOPT_SSL_VERIFYHOSTsessioninfo.c connect-to.c certinfo.c smtp-ssl.c https.c
CURLOPT_SSL_VERIFYPEERsessioninfo.c cacertinmem.c simplessl.c certinfo.c smtp-ssl.c
CURLOPT_SSL_VERIFYSTATUS 
CURLOPT_STDERR 
CURLOPT_STREAM_DEPENDS 
CURLOPT_STREAM_DEPENDS_E 
CURLOPT_STREAM_WEIGHT 
CURLOPT_SUPPRESS_CONNECT_HEADERS 
CURLOPT_TCP_FASTOPEN 
CURLOPT_TCP_KEEPALIVEkeepalive.c
CURLOPT_TCP_KEEPCNTkeepalive.c
CURLOPT_TCP_KEEPIDLEkeepalive.c
CURLOPT_TCP_KEEPINTVLkeepalive.c
CURLOPT_TCP_NODELAY 
CURLOPT_TELNETOPTIONS 
CURLOPT_TFTP_BLKSIZE 
CURLOPT_TFTP_NO_OPTIONS 
CURLOPT_TIMECONDITION 
CURLOPT_TIMEOUTcrawler.c
CURLOPT_TIMEOUT_MScrawler.c
CURLOPT_TIMEVALUE 
CURLOPT_TIMEVALUE_LARGE 
CURLOPT_TLS13_CIPHERS 
CURLOPT_TLSAUTH_PASSWORD 
CURLOPT_TLSAUTH_TYPE 
CURLOPT_TLSAUTH_USERNAME 
CURLOPT_TRAILERDATA 
CURLOPT_TRAILERFUNCTION 
CURLOPT_TRANSFERTEXT 
CURLOPT_TRANSFER_ENCODING 
CURLOPT_UNIX_SOCKET_PATHunixsocket.c
CURLOPT_UNRESTRICTED_AUTHcrawler.c
CURLOPT_UPKEEP_INTERVAL_MS 
CURLOPT_UPLOADftpuploadfrommem.c ftpupload.c fileupload.c anyauthput.c httpput.c
CURLOPT_UPLOAD_BUFFERSIZE 
CURLOPT_URLftpsget.c sessioninfo.c getinfo.c ftpuploadfrommem.c post-callback.c
CURLOPT_USERAGENTgetinmemory.c chkspeed.c synctime.c postinmemory.c crawler.c
CURLOPT_USERNAMEpop3-top.c pop3-retr.c pop3-multi.c pop3-authzid.c imap-noop.c
CURLOPT_USERPWDftpuploadfrommem.c anyauthput.c
CURLOPT_USE_SSLftpsget.c imap-tls.c smtp-tls.c pop3-tls.c
CURLOPT_VERBOSEftpsget.c sessioninfo.c ftpuploadfrommem.c post-callback.c cacertinmem.c
CURLOPT_WILDCARDMATCHftp-wildcard.c
CURLOPT_WRITEDATAftpsget.c cacertinmem.c getinmemory.c href_extractor.c htmltidy.c
CURLOPT_WRITEFUNCTIONftpsget.c sessioninfo.c cacertinmem.c getinmemory.c 10-at-a-time.c
CURLOPT_WS_OPTIONS 
CURLOPT_XFERINFODATAprogressfunc.c
CURLOPT_XFERINFOFUNCTIONprogressfunc.c
CURLOPT_XOAUTH2_BEARER 

Out of the 291 options, 162 are not used by any example