Next: , Previous: , Up: Options   [Contents][Index]


2.2.1 Option Table

The table describes the options and the type of info expected for each option.

Option SymbolC Library NameInfo Type
BEHAVIOR OPTIONS
verboseCURLOPT_VERBOSEboolean
headerCURLOPT_HEADERboolean
nosignalCURLOPT_NOSIGNALboolean
wildcardmatchCURLOPT_WILDCARDMATCHboolean
CALLBACK OPTIONS
readdataCURLOPT_READDATAinput port
NETWORK OPTIONS
urlCURLOPT_URLstring
protocolsCURLOPT_PROTOCOLSinteger3
redir-protocolsCURLOPT_REDIR_PROTOCOLSinteger4
proxyCURLOPT_PROXYstring
proxyportCURLOPT_PROXYPORTinteger
proxytypeCURLOPT_PROXYTYPEinteger5
noproxyCURLOPT_NOPROXYstring
httpproxytunnelCURLOPT_HTTPPROXYTUNNELboolean
socks5-gssapi-serviceCURLOPT_SOCKS5_GSSAPI_SERVICEstring
socks5-gssapi-necCURLOPT_SOCKS5_GSSAPI_NECboolean
interfaceCURLOPT_INTERFACEstring
localportCURLOPT_LOCALPORTinteger
localportrangeCURLOPT_LOCALPORTRANGEinteger
dns-cache-timeoutCURLOPT_DNS_CACHE_TIMEOUTinteger
buffersizeCURLOPT_BUFFERSIZEinteger
portCURLOPT_PORTinteger
tcp-nodelayCURLOPT_TCP_NODELAYboolean
address-scopeCURLOPT_ADDRESS_SCOPEinteger
NAMES AND PASSWORD OPTIONS
netrcCURLOPT_NETRCinteger6
netrc-fileCURLOPT_NETRC_FILEstring
userpwdCURLOPT_USERPWDstring
proxyuserpwdCURLOPT_PROXYUSERPWDstring
usernameCURLOPT_USERNAMEstring
passwordCURLOPT_PASSWORDstring
proxyusernameCURLOPT_PROXYUSERNAMEstring
proxypasswordCURLOPT_PROXYPASSWORDstring
httpauthCURLOPT_HTTPAUTHinteger7
tlsauth-typeCURLOPT_TLSAUTH_TYPEinteger8
tlsauth-usernameCURLOPT_TLSAUTH_USERNAMEstring
tlsauth-passwordCURLOPT_TLSAUTH_PASSWORDstring
proxyauthCURLOPT_PROXYAUTHinteger9
HTTP OPTIONS
autorefererCURLOPT_AUTOREFERERboolean
accept-encodingCURLOPT_ACCEPT_ENCODINGstring
transfer-encodingCURLOPT_TRANSFER_ENCODINGstring
followlocationCURLOPT_FOLLOWLOCATIONboolean
unrestricted-authCURLOPT_UNRESTRICTED_AUTHboolean
maxredirsCURLOPT_MAXREDIRSinteger
postredirCURLOPT_POSTREDIRinteger10
putCURLOPT_PUTboolean
postCURLOPT_POSTboolean
postfields11CURLOPT_POSTFIELDSbytevector
httppostCURLOPT_HTTPPOSThttppost
refererCURLOPT_REFERERstring
useragentCURLOPT_USERAGENTstring
httpheaderCURLOPT_HTTPHEADERslist12
http200aliasesCURLOPT_HTTP200ALIASESslist
cookieCURLOPT_COOKIEstring
cookiefileCURLOPT_COOKIEFILEstring
cookiejarCURLOPT_COOKIEJARstring
cookiesessionCURLOPT_COOKIESESSIONboolean
cookielistCURLOPT_COOKIELISTstring
httpgetCURLOPT_HTTPGETboolean
http-versionCURLOPT_HTTP_VERSIONinteger13
ignore-content-lengthCURLOPT_IGNORE_CONTENT_LENGTHboolean
http-content-decodingCURLOPT_HTTP_CONTENT_DECODINGboolean
http-transfer-decodingCURLOPT_HTTP_TRANSFER_DECODINGboolean
SMTP OPTIONS
mail-fromCURLOPT_MAIL_FROMstring
mail-rcptCURLOPT_MAIL_RCPTslist
TFTP OPTIONS
tftp-blksizeCURLOPT_TFTP_BLKSIZEinteger
FTP OPTIONS
ftpportCURLOPT_FTPPORTstring
quoteCURLOPT_QUOTEslist
postquoteCURLOPT_POSTQUOTEslist
prequoteCURLOPT_PREQUOTEslist
dirlistonly,CURLOPT_DIRLISTONLYboolean
appendCURLOPT_APPENDboolean
ftp-use-eprtCURLOPT_FTP_USE_EPRTboolean
ftp-use-epsvCURLOPT_FTP_USE_EPSVboolean
ftp-use-pretCURLOPT_FTP_USE_PRETboolean
ftp-create-missing-dirsCURLOPT_FTP_CREATE_MISSING_DIRSboolean
ftp-response-timeoutCURLOPT_FTP_RESPONSE_TIMEOUTinteger
ftp-alternative-to-userCURLOPT_FTP_ALTERNATIVE_TO_USERstring
ftp-skip-pasv-ipCURLOPT_FTP_SKIP_PASV_IPboolean
ftpsslauthCURLOPT_FTPSSLAUTHinteger14
ftp-ssl-cccCURLOPT_FTP_SSL_CCCinteger15
ftp-accountCURLOPT_FTP_ACCOUNTstring
ftp-filemethodCURLOPT_FTP_FILEMETHODinteger16
RTSP OPTIONS
rtsp-requestCURLOPT_RTSP_REQUESTinteger17
rtsp-session-idCURLOPT_RTSP_SESSION_IDstring
rtsp-stream-uriCURLOPT_RTSP_STREAM_URIstring
rtsp-transportCURLOPT_RTSP_TRANSPORTstring
rtsp-client-cseqCURLOPT_RTSP_CLIENT_CSEQinteger
PROTOCOL OPTIONS
transfertextCURLOPT_TRANSFERTEXTboolean
proxy-transfer-modeCURLOPT_PROXY_TRANSFER_MODEboolean
crlfCURLOPT_CRLFboolean
rangeCURLOPT_RANGEstring
resume-fromCURLOPT_RESUME_FROMinteger
resume-from-largeCURLOPT_RESUME_FROM_LARGEbiginteger
customrequestCURLOPT_CUSTOMREQUESTstring
filetimeCURLOPT_FILETIMEboolean
nobodyCURLOPT_NOBODYboolean
infilesizeCURLOPT_INFILESIZEinteger
infilesize-largeCURLOPT_INFILESIZE_LARGEbiginteger
uploadCURLOPT_UPLOADboolean
maxfilesizeCURLOPT_MAXFILESIZEinteger
maxfilesize-largeCURLOPT_MAXFILESIZE_LARGEbiginteger
timeconditionCURLOPT_TIMECONDITIONinteger
timevalueCURLOPT_TIMEVALUEinteger
CONNECTION OPTIONS
timeoutCURLOPT_TIMEOUTinteger
timeout-msCURLOPT_TIMEOUT_MSinteger
low-speed-limitCURLOPT_LOW_SPEED_LIMITinteger
low-speed-timeCURLOPT_LOW_SPEED_TIMEinteger
max-send-speed-largeCURLOPT_MAX_SEND_SPEED_LARGEbiginteger
max-recv-speed-largeCURLOPT_MAX_RECV_SPEED_LARGEbiginteger
maxconnectsCURLOPT_MAXCONNECTSinteger
fresh-connectCURLOPT_FRESH_CONNECTboolean
forbid-reuseCURLOPT_FORBID_REUSEboolean
connecttimeoutCURLOPT_CONNECTTIMEOUTinteger
connecttimeout-msCURLOPT_CONNECTTIMEOUT_MSinteger
ipresolveCURLOPT_IPRESOLVEinteger18
connect-onlyCURLOPT_CONNECT_ONLYboolean
use-sslCURLOPT_USE_SSLinteger19
resolveCURLOPT_RESOLVEslist
dns-serversCURLOPT_DNS_SERVERSstring
accepttimeout-msCURLOPT_ACCEPTTIMEOUT_MSinteger
SSL AND SECURITY OPTIONS
sslcertCURLOPT_SSLCERTstring
sslcerttypeCURLOPT_SSLCERTTYPEstring
sslkeyCURLOPT_SSLKEYstring
sslkeytypeCURLOPT_SSLKEYTYPEstring
keypasswdCURLOPT_KEYPASSWDstring
sslengineCURLOPT_SSLENGINEstring
sslengine-defaultCURLOPT_SSLENGINE_DEFAULTboolean
sslversionCURLOPT_SSLVERSIONinteger20
ssl-verifypeerCURLOPT_SSL_VERIFYPEERboolean
cainfoCURLOPT_CAINFOstring
issuercertCURLOPT_ISSUERCERTstring
capathCURLOPT_CAPATHstring
crlfileCURLOPT_CRLFILEstring
ssl-verifyhostCURLOPT_SSL_VERIFYHOSTinteger
certinfoCURLOPT_CERTINFOboolean
random-fileCURLOPT_RANDOM_FILEstring
egdsocketCURLOPT_EGDSOCKETstring
ssl-cipher-listCURLOPT_SSL_CIPHER_LISTstring
ssl-sessionid-cacheCURLOPT_SSL_SESSIONID_CACHEboolean
krblevelCURLOPT_KRBLEVELstring
gssapi-delegationCURLOPT_GSSAPI_DELEGATIONinteger21
SSH OPTIONS
ssh-auth-typesCURLOPT_SSH_AUTH_TYPESinteger22
ssh-host-public-key-md5CURLOPT_SSH_HOST_PUBLIC_KEY_MD5string
ssh-public-keyfileCURLOPT_SSH_PUBLIC_KEYFILEstring
ssh-private-keyfileCURLOPT_SSH_PRIVATE_KEYFILEstring
ssh-known-hostsCURLOPT_SSH_KNOWN_HOSTSstring
new-file-permsCURLOPT_NEW_FILE_PERMSinteger
new-directory-permsCURLOPT_NEW_DIRECTORY_PERMSinteger
telnetoptionsCURLOPT_TELNETOPTIONSslist

Footnotes

(3)

See Integer Constants for protocols.

(4)

See Integer Constants for protocols.

(5)

See Integer Constants for proxytype.

(6)

See Integer Constants for netrc.

(7)

See Integer Constants for httpauth.

(8)

See Integer Constants for tlsauth-type.

(9)

See Integer Constants for httpauth.

(10)

See Integer Constants for postredir.

(11)

See Postfields.

(12)

Pass an empty list to clear out the HTTP headers.

(13)

See Integer Constants for http-version.

(14)

See Integer Constants for ftpsslauth.

(15)

See Integer Constants for ftp-ssl-ccc.

(16)

See Integer Constants for ftp-filemethod.

(17)

See Integer Constants for rtsp-request.

(18)

See Integer Constants for ipresolve.

(19)

See Integer Constants for use-ssl.

(20)

See Integer Constants for sslversion.

(21)

See Integer Constants for gssapi-delegation.

(22)

See Integer Constants for ssh-auth-types.


Next: , Previous: , Up: Options   [Contents][Index]