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

Options Used By Examples

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

OptionExamples
CURLOPT_ABSTRACT_UNIX_SOCKET 
CURLOPT_ACCEPTTIMEOUT_MS 
CURLOPT_ACCEPT_ENCODING 
CURLOPT_ADDRESS_SCOPE 
CURLOPT_APPENDftpuploadresume.c sftpuploadresume.c
CURLOPT_AUTOREFERER 
CURLOPT_BUFFERSIZE 
CURLOPT_CAINFOimap-tls.c cacertinmem.c smtp-tls.c simplessl.c pop3-tls.c
CURLOPT_CAPATHimap-tls.c imap-ssl.c https.c pop3-ssl.c cacertinmem.c smtp-tls.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_CLOSESOCKETFUNCTIONasiohiper.cpp externalsocket.c
CURLOPT_CONNECTTIMEOUTghiper.c
CURLOPT_CONNECTTIMEOUT_MS 
CURLOPT_CONNECT_ONLYsendrecv.c
CURLOPT_CONNECT_TO 
CURLOPT_CONV_FROM_NETWORK_FUNCTIONsampleconv.c
CURLOPT_CONV_FROM_UTF8_FUNCTIONsampleconv.c
CURLOPT_CONV_TO_NETWORK_FUNCTIONsampleconv.c
CURLOPT_COOKIE 
CURLOPT_COOKIEFILEcookie_interface.c
CURLOPT_COOKIEJAR 
CURLOPT_COOKIELISTcookie_interface.c
CURLOPT_COOKIESESSION 
CURLOPT_COPYPOSTFIELDS 
CURLOPT_CRLF 
CURLOPT_CRLFILE 
CURLOPT_CUSTOMREQUESTpop3-uidl.c pop3-noop.c pop3-stat.c imap-store.c imap-copy.c
CURLOPT_DEBUGDATAdebug.c
CURLOPT_DEBUGFUNCTIONhttp2-download.c debug.c http2-serverpush.c http2-upload.c multi-debugcallback.c
CURLOPT_DEFAULT_PROTOCOL 
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_EGDSOCKET 
CURLOPT_ERRORBUFFERghiper.c hiperfifo.c htmltitle.cpp asiohiper.cpp htmltidy.c evhiperfifo.c
CURLOPT_EXPECT_100_TIMEOUT_MS 
CURLOPT_FAILONERROR 
CURLOPT_FILETIMEftpgetinfo.c sftpuploadresume.c
CURLOPT_FNMATCH_DATA 
CURLOPT_FNMATCH_FUNCTION 
CURLOPT_FOLLOWLOCATIONghiper.c hiperfifo.c htmltitle.cpp debug.c simple.c href_extractor.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_RESPONSE_TIMEOUTftpuploadresume.c
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_HEADERftpgetinfo.c usercertinmem.c persistant.c ftpuploadresume.c sftpuploadresume.c
CURLOPT_HEADERDATAusercertinmem.c ftpuploadresume.c sepheaders.c cacertinmem.c simplessl.c ftpgetresp.c
CURLOPT_HEADERFUNCTIONftpgetinfo.c usercertinmem.c ftpuploadresume.c cacertinmem.c synctime.c ftpgetresp.c
CURLOPT_HEADEROPT 
CURLOPT_HTTP200ALIASES 
CURLOPT_HTTPAUTHanyauthput.c
CURLOPT_HTTPGET 
CURLOPT_HTTPHEADERpostit2-formadd.c smtp-mime.c curlx.c httpcustomheader.c multi-post.c post-callback.c
CURLOPT_HTTPPOSTpostit2-formadd.c multi-formadd.c
CURLOPT_HTTPPROXYTUNNEL 
CURLOPT_HTTP_CONTENT_DECODING 
CURLOPT_HTTP_TRANSFER_DECODING 
CURLOPT_HTTP_VERSIONhttp2-download.c http2-serverpush.c http2-upload.c
CURLOPT_IGNORE_CONTENT_LENGTH 
CURLOPT_INFILESIZEftpupload.c imap-append.c
CURLOPT_INFILESIZE_LARGEftpuploadfrommem.c anyauthput.c httpput.c ftpupload.c http2-upload.c fileupload.c
CURLOPT_INTERFACE 
CURLOPT_INTERLEAVEDATA 
CURLOPT_INTERLEAVEFUNCTION 
CURLOPT_IOCTLDATAanyauthput.c
CURLOPT_IOCTLFUNCTIONanyauthput.c
CURLOPT_IPRESOLVE 
CURLOPT_ISSUERCERT 
CURLOPT_KEEP_SENDING_ON_ERROR 
CURLOPT_KEYPASSWDsimplessl.c
CURLOPT_KRBLEVEL 
CURLOPT_LOCALPORT 
CURLOPT_LOCALPORTRANGE 
CURLOPT_LOGIN_OPTIONS 
CURLOPT_LOW_SPEED_LIMITghiper.c asiohiper.cpp evhiperfifo.c
CURLOPT_LOW_SPEED_TIMEghiper.c asiohiper.cpp evhiperfifo.c
CURLOPT_MAIL_AUTH 
CURLOPT_MAIL_FROMsmtp-mime.c smtp-mail.c smtp-tls.c smtp-ssl.c smtp-multi.c
CURLOPT_MAIL_RCPTsmtp-mime.c smtp-vrfy.c smtp-mail.c
CURLOPT_MAXCONNECTS 
CURLOPT_MAXFILESIZE 
CURLOPT_MAXFILESIZE_LARGE 
CURLOPT_MAXREDIRS 
CURLOPT_MAX_RECV_SPEED_LARGE 
CURLOPT_MAX_SEND_SPEED_LARGE 
CURLOPT_MIMEPOSTsmtp-mime.c multi-post.c postit2.c
CURLOPT_NETRC 
CURLOPT_NETRC_FILE 
CURLOPT_NEW_DIRECTORY_PERMS 
CURLOPT_NEW_FILE_PERMS 
CURLOPT_NOBODYpop3-noop.c pop3-stat.c ftpgetinfo.c ftpuploadresume.c sftpuploadresume.c
CURLOPT_NOPROGRESSghiper.c hiperfifo.c usercertinmem.c asiohiper.cpp externalsocket.c sepheaders.c
CURLOPT_NOPROXY 
CURLOPT_NOSIGNALusercertinmem.c cacertinmem.c
CURLOPT_OPENSOCKETDATAexternalsocket.c
CURLOPT_OPENSOCKETFUNCTIONasiohiper.cpp externalsocket.c
CURLOPT_PASSWORDpop3-uidl.c pop3-noop.c imap-tls.c pop3-stat.c imap-ssl.c imap-store.c
CURLOPT_PATH_AS_IS 
CURLOPT_PINNEDPUBLICKEY 
CURLOPT_PIPEWAIThttp2-download.c http2-serverpush.c http2-upload.c
CURLOPT_PORT 
CURLOPT_POSTpost-callback.c
CURLOPT_POSTFIELDScurlx.c postinmemory.c simplepost.c http-post.c
CURLOPT_POSTFIELDSIZEcurlx.c postinmemory.c simplepost.c post-callback.c
CURLOPT_POSTFIELDSIZE_LARGEpost-callback.c
CURLOPT_POSTQUOTEftpupload.c
CURLOPT_POSTREDIR 
CURLOPT_PREQUOTE 
CURLOPT_PRE_PROXY 
CURLOPT_PRIVATEghiper.c hiperfifo.c multi-uv.c asiohiper.cpp evhiperfifo.c 10-at-a-time.c
CURLOPT_PROGRESSDATAghiper.c hiperfifo.c asiohiper.cpp evhiperfifo.c curlgtk.c progressfunc.c
CURLOPT_PROGRESSFUNCTIONghiper.c hiperfifo.c asiohiper.cpp
CURLOPT_PROTOCOLS 
CURLOPT_PROXYsynctime.c
CURLOPT_PROXYAUTH 
CURLOPT_PROXYHEADER 
CURLOPT_PROXYPASSWORD 
CURLOPT_PROXYPORT 
CURLOPT_PROXYTYPE 
CURLOPT_PROXYUSERNAME 
CURLOPT_PROXYUSERPWDsynctime.c
CURLOPT_PROXY_CAINFO 
CURLOPT_PROXY_CAPATH 
CURLOPT_PROXY_CRLFILE 
CURLOPT_PROXY_KEYPASSWD 
CURLOPT_PROXY_PINNEDPUBLICKEY 
CURLOPT_PROXY_SERVICE_NAME 
CURLOPT_PROXY_SSLCERT 
CURLOPT_PROXY_SSLCERTTYPE 
CURLOPT_PROXY_SSLKEY 
CURLOPT_PROXY_SSLKEYTYPE 
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_PUThttpput.c
CURLOPT_QUOTE 
CURLOPT_RANDOM_FILE 
CURLOPT_RANGErtsp.c
CURLOPT_READDATAftpuploadfrommem.c anyauthput.c ftpuploadresume.c httpput.c ftpupload.c sftpuploadresume.c
CURLOPT_READFUNCTIONftpuploadfrommem.c anyauthput.c ftpuploadresume.c httpput.c ftpupload.c
CURLOPT_REDIR_PROTOCOLS 
CURLOPT_REFERER 
CURLOPT_REQUEST_TARGET 
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.c
CURLOPT_RTSP_SERVER_CSEQ 
CURLOPT_RTSP_SESSION_ID 
CURLOPT_RTSP_STREAM_URIrtsp.c
CURLOPT_RTSP_TRANSPORTrtsp.c
CURLOPT_SASL_IR 
CURLOPT_SEEKDATA 
CURLOPT_SEEKFUNCTION 
CURLOPT_SERVICE_NAME 
CURLOPT_SHAREthreaded-shared-conn.c shared-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_HOST_PUBLIC_KEY_MD5 
CURLOPT_SSH_KEYDATA 
CURLOPT_SSH_KEYFUNCTION 
CURLOPT_SSH_KNOWNHOSTS 
CURLOPT_SSH_PRIVATE_KEYFILE 
CURLOPT_SSH_PUBLIC_KEYFILE 
CURLOPT_SSLCERTsimplessl.c
CURLOPT_SSLCERTTYPEusercertinmem.c cacertinmem.c simplessl.c
CURLOPT_SSLENGINEsimplessl.c
CURLOPT_SSLENGINE_DEFAULTsimplessl.c
CURLOPT_SSLKEYsimplessl.c
CURLOPT_SSLKEYTYPEusercertinmem.c simplessl.c
CURLOPT_SSLVERSION 
CURLOPT_SSL_CIPHER_LIST 
CURLOPT_SSL_CTX_DATAcurlx.c
CURLOPT_SSL_CTX_FUNCTIONusercertinmem.c curlx.c cacertinmem.c
CURLOPT_SSL_ENABLE_ALPN 
CURLOPT_SSL_ENABLE_NPN 
CURLOPT_SSL_FALSESTART 
CURLOPT_SSL_OPTIONS 
CURLOPT_SSL_SESSIONID_CACHE 
CURLOPT_SSL_VERIFYHOSTthreaded-ssl.c imap-tls.c http2-download.c imap-ssl.c usercertinmem.c
CURLOPT_SSL_VERIFYPEERthreaded-ssl.c imap-tls.c http2-download.c imap-ssl.c usercertinmem.c https.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_KEEPALIVE 
CURLOPT_TCP_KEEPIDLE 
CURLOPT_TCP_KEEPINTVL 
CURLOPT_TCP_NODELAY 
CURLOPT_TELNETOPTIONS 
CURLOPT_TFTP_BLKSIZE 
CURLOPT_TFTP_NO_OPTIONS 
CURLOPT_TIMECONDITION 
CURLOPT_TIMEOUT 
CURLOPT_TIMEOUT_MS 
CURLOPT_TIMEVALUE 
CURLOPT_TIMEVALUE_LARGE 
CURLOPT_TLS13_CIPHERS 
CURLOPT_TLSAUTH_PASSWORD 
CURLOPT_TLSAUTH_TYPE 
CURLOPT_TLSAUTH_USERNAME 
CURLOPT_TRANSFERTEXT 
CURLOPT_TRANSFER_ENCODING 
CURLOPT_UNIX_SOCKET_PATH 
CURLOPT_UNRESTRICTED_AUTH 
CURLOPT_UPLOADftpuploadfrommem.c anyauthput.c ftpuploadresume.c httpput.c ftpupload.c sftpuploadresume.c
CURLOPT_URLpop3-uidl.c ghiper.c threaded-ssl.c pop3-noop.c imap-tls.c multi-double.c
CURLOPT_USERAGENTchkspeed.c postinmemory.c synctime.c getinmemory.c
CURLOPT_USERNAMEpop3-uidl.c pop3-noop.c imap-tls.c pop3-stat.c imap-ssl.c imap-store.c
CURLOPT_USERPWDftpuploadfrommem.c anyauthput.c
CURLOPT_USE_SSLimap-tls.c smtp-tls.c pop3-tls.c ftpsget.c
CURLOPT_VERBOSEghiper.c imap-tls.c ftpget.c hiperfifo.c http2-download.c ftpuploadfrommem.c
CURLOPT_WILDCARDMATCHftp-wildcard.c
CURLOPT_WRITEDATAghiper.c ftpget.c hiperfifo.c http2-download.c multi-uv.c usercertinmem.c
CURLOPT_WRITEFUNCTIONghiper.c ftpget.c hiperfifo.c usercertinmem.c
CURLOPT_XFERINFOFUNCTIONprogressfunc.c
CURLOPT_XOAUTH2_BEARER 

Out of the 256 options, 164 are not used by any example