2002-09-18 17:26:42 +02:00
|
|
|
.SH HTTP OPTIONS
|
2004-02-27 10:02:06 +01:00
|
|
|
.IP CURLOPT_AUTOREFERER
|
2014-06-21 15:45:50 +02:00
|
|
|
Automatically set Referer: header. See \fICURLOPT_AUTOREFERER(3)\fP
|
2011-04-14 22:59:34 +02:00
|
|
|
.IP CURLOPT_ACCEPT_ENCODING
|
2014-06-21 15:45:50 +02:00
|
|
|
Accept-Encoding and automatic decompressing data. See \fICURLOPT_ACCEPT_ENCODING(3)\fP
|
2011-04-14 22:59:34 +02:00
|
|
|
.IP CURLOPT_TRANSFER_ENCODING
|
2014-06-21 15:45:50 +02:00
|
|
|
Request Transfer-Encoding. See \fICURLOPT_TRANSFER_ENCODING(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_FOLLOWLOCATION
|
2014-06-21 15:45:50 +02:00
|
|
|
Follow HTTP redirects. See \fICURLOPT_FOLLOWLOCATION(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_UNRESTRICTED_AUTH
|
2014-10-30 23:40:05 +01:00
|
|
|
Do not restrict authentication to original host. \fICURLOPT_UNRESTRICTED_AUTH(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_MAXREDIRS
|
2014-06-21 15:45:50 +02:00
|
|
|
Maximum number of redirects to follow. See \fICURLOPT_MAXREDIRS(3)\fP
|
2008-10-16 23:02:38 +02:00
|
|
|
.IP CURLOPT_POSTREDIR
|
2014-06-21 15:45:50 +02:00
|
|
|
How to act on redirects after POST. See \fICURLOPT_POSTREDIR(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_PUT
|
2014-06-21 15:45:50 +02:00
|
|
|
Issue a HTTP PUT request. See \fICURLOPT_PUT(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_POST
|
2014-06-21 20:43:04 +02:00
|
|
|
Issue a HTTP POST request. See \fICURLOPT_POST(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_POSTFIELDS
|
2014-06-21 15:45:50 +02:00
|
|
|
Send a POST with this data. See \fICURLOPT_POSTFIELDS(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_POSTFIELDSIZE
|
2014-06-21 15:45:50 +02:00
|
|
|
The POST data is this big. See \fICURLOPT_POSTFIELDSIZE(3)\fP
|
2004-03-12 09:55:47 +01:00
|
|
|
.IP CURLOPT_POSTFIELDSIZE_LARGE
|
2014-06-21 15:45:50 +02:00
|
|
|
The POST data is this big. See \fICURLOPT_POSTFIELDSIZE_LARGE(3)\fP
|
2007-10-15 20:32:01 +02:00
|
|
|
.IP CURLOPT_COPYPOSTFIELDS
|
2014-06-21 15:45:50 +02:00
|
|
|
Send a POST with this data - and copy it. See \fICURLOPT_COPYPOSTFIELDS(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_HTTPPOST
|
2014-06-21 15:45:50 +02:00
|
|
|
Multipart formpost HTTP POST. See \fICURLOPT_HTTPPOST(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_REFERER
|
2014-06-21 15:45:50 +02:00
|
|
|
Referer: header. See \fICURLOPT_REFERER(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_USERAGENT
|
2014-06-21 15:45:50 +02:00
|
|
|
User-Agent: header. See \fICURLOPT_USERAGENT(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_HTTPHEADER
|
2014-06-21 15:45:50 +02:00
|
|
|
Custom HTTP headers. See \fICURLOPT_HTTPHEADER(3)\fP
|
2014-02-04 23:37:29 +01:00
|
|
|
.IP CURLOPT_HEADEROPT
|
2014-06-21 15:45:50 +02:00
|
|
|
Control custom headers. See \fICURLOPT_HEADEROPT(3)\fP
|
2014-01-31 08:10:07 +01:00
|
|
|
.IP CURLOPT_PROXYHEADER
|
2014-06-21 15:45:50 +02:00
|
|
|
Custom HTTP headers sent to proxy. See \fICURLOPT_PROXYHEADER(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_HTTP200ALIASES
|
2014-06-21 15:45:50 +02:00
|
|
|
Alternative versions of 200 OK. See \fICURLOPT_HTTP200ALIASES(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_COOKIE
|
2014-06-21 15:45:50 +02:00
|
|
|
Cookie(s) to send. See \fICURLOPT_COOKIE(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_COOKIEFILE
|
2014-06-21 15:45:50 +02:00
|
|
|
File to read cookies from. See \fICURLOPT_COOKIEFILE(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_COOKIEJAR
|
2014-06-21 15:45:50 +02:00
|
|
|
File to write cookies to. See \fICURLOPT_COOKIEJAR(3)\fP
|
2004-02-27 10:02:06 +01:00
|
|
|
.IP CURLOPT_COOKIESESSION
|
2014-06-21 15:45:50 +02:00
|
|
|
Start a new cookie session. See \fICURLOPT_COOKIESESSION(3)\fP
|
2005-07-28 00:17:14 +02:00
|
|
|
.IP CURLOPT_COOKIELIST
|
2014-06-21 15:45:50 +02:00
|
|
|
Add or control cookies. See \fICURLOPT_COOKIELIST(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_HTTPGET
|
2014-06-21 15:45:50 +02:00
|
|
|
Do a HTTP GET request. See \fICURLOPT_HTTPGET(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_HTTP_VERSION
|
2014-06-21 15:45:50 +02:00
|
|
|
HTTP version to use. \fICURLOPT_HTTP_VERSION(3)\fP
|
2005-08-24 12:57:28 +02:00
|
|
|
.IP CURLOPT_IGNORE_CONTENT_LENGTH
|
2014-06-21 19:46:45 +02:00
|
|
|
Ignore Content-Length. See \fICURLOPT_IGNORE_CONTENT_LENGTH(3)\fP
|
2007-02-12 22:13:47 +01:00
|
|
|
.IP CURLOPT_HTTP_CONTENT_DECODING
|
2014-06-21 15:45:50 +02:00
|
|
|
Disable Content decoding. See \fICURLOPT_HTTP_CONTENT_DECODING(3)\fP
|
2007-02-12 22:13:47 +01:00
|
|
|
.IP CURLOPT_HTTP_TRANSFER_DECODING
|
2014-06-21 15:45:50 +02:00
|
|
|
Disable Transfer decoding. See \fICURLOPT_HTTP_TRANSFER_DECODING(3)\fP
|
2014-02-13 10:49:27 +01:00
|
|
|
.IP CURLOPT_EXPECT_100_TIMEOUT_MS
|
2014-06-21 15:45:50 +02:00
|
|
|
100-continue timeout. See \fICURLOPT_EXPECT_100_TIMEOUT_MS(3)\fP
|
2015-06-19 15:47:06 +02:00
|
|
|
.IP CURLOPT_PIPEWAIT
|
|
|
|
Wait on connection to pipeline on it. See \fICURLOPT_PIPEWAIT(3)\fP
|
2009-12-31 23:38:10 +01:00
|
|
|
.SH SMTP OPTIONS
|
|
|
|
.IP CURLOPT_MAIL_FROM
|
2014-06-21 15:45:50 +02:00
|
|
|
Address of the sender. See \fICURLOPT_MAIL_FROM(3)\fP
|
2009-12-31 23:38:10 +01:00
|
|
|
.IP CURLOPT_MAIL_RCPT
|
2014-06-21 15:45:50 +02:00
|
|
|
Address of the recipients. See \fICURLOPT_MAIL_RCPT(3)\fP
|
2012-01-07 15:10:40 +01:00
|
|
|
.IP CURLOPT_MAIL_AUTH
|
2014-06-21 15:45:50 +02:00
|
|
|
Authentication address. See \fICURLOPT_MAIL_AUTH(3)\fP
|
2009-01-26 23:43:06 +01:00
|
|
|
.SH TFTP OPTIONS
|
2009-11-23 10:31:55 +01:00
|
|
|
.IP CURLOPT_TFTP_BLKSIZE
|
2014-06-21 15:45:50 +02:00
|
|
|
TFTP block size. See \fICURLOPT_TFTP_BLKSIZE(3)\fP
|
2002-09-18 17:26:42 +02:00
|
|
|
.SH FTP OPTIONS
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_FTPPORT
|
2014-06-21 15:45:50 +02:00
|
|
|
Use active FTP. See \fICURLOPT_FTPPORT(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_QUOTE
|
2014-06-21 15:45:50 +02:00
|
|
|
Commands to run before transfer. See \fICURLOPT_QUOTE(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_POSTQUOTE
|
2014-06-21 15:45:50 +02:00
|
|
|
Commands to run after transfer. See \fICURLOPT_POSTQUOTE(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_PREQUOTE
|
2014-06-21 15:45:50 +02:00
|
|
|
Commands to run just before transfer. See \fICURLOPT_PREQUOTE(3)\fP
|
2007-08-30 22:34:57 +02:00
|
|
|
.IP CURLOPT_APPEND
|
2014-06-21 15:45:50 +02:00
|
|
|
Append to remote file. See \fICURLOPT_APPEND(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_FTP_USE_EPRT
|
2014-06-21 15:45:50 +02:00
|
|
|
Use EPTR. See \fICURLOPT_FTP_USE_EPRT(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_FTP_USE_EPSV
|
2014-06-21 15:45:50 +02:00
|
|
|
Use EPSV. See \fICURLOPT_FTP_USE_EPSV(3)\fP
|
2010-01-01 15:44:44 +01:00
|
|
|
.IP CURLOPT_FTP_USE_PRET
|
2014-06-21 15:45:50 +02:00
|
|
|
Use PRET. See \fICURLOPT_FTP_USE_PRET(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_FTP_CREATE_MISSING_DIRS
|
2014-10-30 23:40:05 +01:00
|
|
|
Create missing directories on the remote server. See \fICURLOPT_FTP_CREATE_MISSING_DIRS(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_FTP_RESPONSE_TIMEOUT
|
2014-06-21 15:45:50 +02:00
|
|
|
Timeout for FTP responses. See \fICURLOPT_FTP_RESPONSE_TIMEOUT(3)\fP
|
2006-07-26 00:45:21 +02:00
|
|
|
.IP CURLOPT_FTP_ALTERNATIVE_TO_USER
|
2014-06-21 15:45:50 +02:00
|
|
|
Alternative to USER. See \fICURLOPT_FTP_ALTERNATIVE_TO_USER(3)\fP
|
2005-09-04 07:16:06 +02:00
|
|
|
.IP CURLOPT_FTP_SKIP_PASV_IP
|
2014-06-21 15:45:50 +02:00
|
|
|
Ignore the IP address in the PASV response. See \fICURLOPT_FTP_SKIP_PASV_IP(3)\fP
|
2004-09-16 23:45:16 +02:00
|
|
|
.IP CURLOPT_FTPSSLAUTH
|
2014-06-21 15:45:50 +02:00
|
|
|
Control how to do TLS. See \fICURLOPT_FTPSSLAUTH(3)\fP
|
2007-01-06 00:11:14 +01:00
|
|
|
.IP CURLOPT_FTP_SSL_CCC
|
2014-06-21 15:45:50 +02:00
|
|
|
Back to non-TLS again after authentication. See \fICURLOPT_FTP_SSL_CCC(3)\fP
|
2005-01-25 23:13:12 +01:00
|
|
|
.IP CURLOPT_FTP_ACCOUNT
|
2014-06-21 15:45:50 +02:00
|
|
|
Send ACCT command. See \fICURLOPT_FTP_ACCOUNT(3)\fP
|
2006-03-14 01:05:15 +01:00
|
|
|
.IP CURLOPT_FTP_FILEMETHOD
|
2014-06-21 15:45:50 +02:00
|
|
|
Specify how to reach files. See \fICURLOPT_FTP_FILEMETHOD(3)\fP
|
2010-01-21 14:58:30 +01:00
|
|
|
.SH RTSP OPTIONS
|
|
|
|
.IP CURLOPT_RTSP_REQUEST
|
2014-06-21 15:45:50 +02:00
|
|
|
RTSP request. See \fICURLOPT_RTSP_REQUEST(3)\fP
|
2010-01-21 14:58:30 +01:00
|
|
|
.IP CURLOPT_RTSP_SESSION_ID
|
2014-06-21 15:45:50 +02:00
|
|
|
RTSP session-id. See \fICURLOPT_RTSP_SESSION_ID(3)\fP
|
2010-01-21 14:58:30 +01:00
|
|
|
.IP CURLOPT_RTSP_STREAM_URI
|
2014-06-21 15:45:50 +02:00
|
|
|
RTSP stream URI. See \fICURLOPT_RTSP_STREAM_URI(3)\fP
|
2010-01-21 14:58:30 +01:00
|
|
|
.IP CURLOPT_RTSP_TRANSPORT
|
2014-06-21 15:45:50 +02:00
|
|
|
RTSP Transport: header. See \fICURLOPT_RTSP_TRANSPORT(3)\fP
|
2010-01-21 14:58:30 +01:00
|
|
|
.IP CURLOPT_RTSP_CLIENT_CSEQ
|
2014-06-25 22:30:36 +02:00
|
|
|
Client CSEQ number. See \fICURLOPT_RTSP_CLIENT_CSEQ(3)\fP
|
2010-01-21 14:58:30 +01:00
|
|
|
.IP CURLOPT_RTSP_SERVER_CSEQ
|
2014-06-21 15:45:50 +02:00
|
|
|
CSEQ number for RTSP Server->Client request. See \fICURLOPT_RTSP_SERVER_CSEQ(3)\fP
|
2002-09-18 17:26:42 +02:00
|
|
|
.SH PROTOCOL OPTIONS
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_TRANSFERTEXT
|
2014-06-21 15:45:50 +02:00
|
|
|
Use text transfer. See \fICURLOPT_TRANSFERTEXT(3)\fP
|
2007-12-03 00:38:23 +01:00
|
|
|
.IP CURLOPT_PROXY_TRANSFER_MODE
|
2014-06-21 15:45:50 +02:00
|
|
|
Add transfer mode to URL over proxy. See \fICURLOPT_PROXY_TRANSFER_MODE(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_CRLF
|
2014-06-21 15:45:50 +02:00
|
|
|
Convert newlines. See \fICURLOPT_CRLF(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_RANGE
|
2014-06-21 15:45:50 +02:00
|
|
|
Range requests. See \fICURLOPT_RANGE(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_RESUME_FROM
|
2014-06-21 15:45:50 +02:00
|
|
|
Resume a transfer. See \fICURLOPT_RESUME_FROM(3)\fP
|
2004-01-05 23:29:29 +01:00
|
|
|
.IP CURLOPT_RESUME_FROM_LARGE
|
2014-06-21 15:45:50 +02:00
|
|
|
Resume a transfer. See \fICURLOPT_RESUME_FROM_LARGE(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_CUSTOMREQUEST
|
2014-06-21 15:45:50 +02:00
|
|
|
Custom request/method. See \fICURLOPT_CUSTOMREQUEST(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_FILETIME
|
2014-06-21 15:45:50 +02:00
|
|
|
Request file modification date and time. See \fICURLOPT_FILETIME(3)\fP
|
2014-10-30 19:22:25 +01:00
|
|
|
.IP CURLOPT_DIRLISTONLY
|
|
|
|
List only. See \fICURLOPT_DIRLISTONLY(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_NOBODY
|
2014-06-21 15:45:50 +02:00
|
|
|
Do not get the body contents. See \fICURLOPT_NOBODY(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_INFILESIZE
|
2014-06-21 15:45:50 +02:00
|
|
|
Size of file to send. \fICURLOPT_INFILESIZE(3)\fP
|
2004-01-05 23:29:29 +01:00
|
|
|
.IP CURLOPT_INFILESIZE_LARGE
|
2014-06-21 15:45:50 +02:00
|
|
|
Size of file to send. \fICURLOPT_INFILESIZE_LARGE(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_UPLOAD
|
2014-06-21 15:45:50 +02:00
|
|
|
Upload data. See \fICURLOPT_UPLOAD(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_MAXFILESIZE
|
2014-06-21 15:45:50 +02:00
|
|
|
Maximum file size to get. See \fICURLOPT_MAXFILESIZE(3)\fP
|
2004-01-05 23:29:29 +01:00
|
|
|
.IP CURLOPT_MAXFILESIZE_LARGE
|
2014-06-21 15:45:50 +02:00
|
|
|
Maximum file size to get. See \fICURLOPT_MAXFILESIZE_LARGE(3)\fP
|
2004-02-09 14:51:52 +01:00
|
|
|
.IP CURLOPT_TIMECONDITION
|
2014-06-21 15:45:50 +02:00
|
|
|
Make a time conditional request. See \fICURLOPT_TIMECONDITION(3)\fP
|
2004-02-09 14:51:52 +01:00
|
|
|
.IP CURLOPT_TIMEVALUE
|
2014-06-21 20:43:04 +02:00
|
|
|
Time value for the time conditional request. See \fICURLOPT_TIMEVALUE(3)\fP
|
2002-09-18 17:26:42 +02:00
|
|
|
.SH CONNECTION OPTIONS
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_TIMEOUT
|
2014-06-21 15:45:50 +02:00
|
|
|
Timeout for the entire request. See \fICURLOPT_TIMEOUT(3)\fP
|
2007-02-05 23:51:32 +01:00
|
|
|
.IP CURLOPT_TIMEOUT_MS
|
2014-06-21 15:45:50 +02:00
|
|
|
Millisecond timeout for the entire request. See \fICURLOPT_TIMEOUT_MS(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_LOW_SPEED_LIMIT
|
2014-06-21 15:45:50 +02:00
|
|
|
Low speed limit to abort transfer. See \fICURLOPT_LOW_SPEED_LIMIT(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_LOW_SPEED_TIME
|
2014-06-21 20:43:04 +02:00
|
|
|
Time to be below the speed to trigger low speed abort. See \fICURLOPT_LOW_SPEED_TIME(3)\fP
|
2006-06-22 23:36:53 +02:00
|
|
|
.IP CURLOPT_MAX_SEND_SPEED_LARGE
|
2014-10-30 23:40:05 +01:00
|
|
|
Cap the upload speed to this. See \fICURLOPT_MAX_SEND_SPEED_LARGE(3)\fP
|
2006-06-22 23:36:53 +02:00
|
|
|
.IP CURLOPT_MAX_RECV_SPEED_LARGE
|
2014-10-30 23:40:05 +01:00
|
|
|
Cap the download speed to this. See \fICURLOPT_MAX_RECV_SPEED_LARGE(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_MAXCONNECTS
|
2014-11-02 11:26:21 +01:00
|
|
|
Maximum number of connections in the connection pool. See \fICURLOPT_MAXCONNECTS(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_FRESH_CONNECT
|
2014-06-21 15:45:50 +02:00
|
|
|
Use a new connection. \fICURLOPT_FRESH_CONNECT(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_FORBID_REUSE
|
2014-06-21 15:45:50 +02:00
|
|
|
Prevent subsequent connections from re-using this. See \fICURLOPT_FORBID_REUSE(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_CONNECTTIMEOUT
|
2014-06-21 15:45:50 +02:00
|
|
|
Timeout for the connection phase. See \fICURLOPT_CONNECTTIMEOUT(3)\fP
|
2007-02-05 23:51:32 +01:00
|
|
|
.IP CURLOPT_CONNECTTIMEOUT_MS
|
2014-06-21 15:45:50 +02:00
|
|
|
Millisecond timeout for the connection phase. See \fICURLOPT_CONNECTTIMEOUT_MS(3)\fP
|
2003-12-22 11:53:55 +01:00
|
|
|
.IP CURLOPT_IPRESOLVE
|
2014-06-21 15:45:50 +02:00
|
|
|
IP version to resolve to. See \fICURLOPT_IPRESOLVE(3)\fP
|
2006-06-20 09:03:29 +02:00
|
|
|
.IP CURLOPT_CONNECT_ONLY
|
2014-06-21 15:45:50 +02:00
|
|
|
Only connect, nothing else. See \fICURLOPT_CONNECT_ONLY(3)\fP
|
2010-11-08 09:46:48 +01:00
|
|
|
.IP CURLOPT_USE_SSL
|
2014-06-21 15:45:50 +02:00
|
|
|
Use TLS/SSL. See \fICURLOPT_USE_SSL(3)\fP
|
2010-11-08 09:53:35 +01:00
|
|
|
.IP CURLOPT_RESOLVE
|
2014-06-21 15:45:50 +02:00
|
|
|
Provide fixed/fake name resolves. See \fICURLOPT_RESOLVE(3)\fP
|
2013-09-07 18:45:50 +02:00
|
|
|
.IP CURLOPT_DNS_INTERFACE
|
2014-06-21 15:45:50 +02:00
|
|
|
Bind name resolves to this interface. See \fICURLOPT_DNS_INTERFACE(3)\fP
|
2013-09-07 18:45:50 +02:00
|
|
|
.IP CURLOPT_DNS_LOCAL_IP4
|
2014-06-21 20:43:04 +02:00
|
|
|
Bind name resolves to this IP4 address. See \fICURLOPT_DNS_LOCAL_IP4(3)\fP
|
2013-09-07 18:45:50 +02:00
|
|
|
.IP CURLOPT_DNS_LOCAL_IP6
|
2014-06-21 20:43:04 +02:00
|
|
|
Bind name resolves to this IP6 address. See \fICURLOPT_DNS_LOCAL_IP6(3)\fP
|
2015-03-18 23:20:49 +01:00
|
|
|
.IP CURLOPT_DNS_SERVERS
|
|
|
|
Preferred DNS servers. See \fICURLOPT_DNS_SERVERS(3)\fP
|
2012-01-22 00:00:55 +01:00
|
|
|
.IP CURLOPT_ACCEPTTIMEOUT_MS
|
2014-06-21 15:45:50 +02:00
|
|
|
Timeout for waiting for the server's connect back to be accepted. See \fICURLOPT_ACCEPTTIMEOUT_MS(3)\fP
|
2002-09-18 17:26:42 +02:00
|
|
|
.SH SSL and SECURITY OPTIONS
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_SSLCERT
|
2014-06-21 15:45:50 +02:00
|
|
|
Client cert. See \fICURLOPT_SSLCERT(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_SSLCERTTYPE
|
2014-06-21 15:45:50 +02:00
|
|
|
Client cert type. See \fICURLOPT_SSLCERTTYPE(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_SSLKEY
|
2014-06-21 15:45:50 +02:00
|
|
|
Client key. See \fICURLOPT_SSLKEY(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_SSLKEYTYPE
|
2014-06-21 15:45:50 +02:00
|
|
|
Client key type. See \fICURLOPT_SSLKEYTYPE(3)\fP
|
2007-08-30 22:34:57 +02:00
|
|
|
.IP CURLOPT_KEYPASSWD
|
2014-06-21 15:45:50 +02:00
|
|
|
Client key password. See \fICURLOPT_KEYPASSWD(3)\fP
|
2014-02-11 07:44:27 +01:00
|
|
|
.IP CURLOPT_SSL_ENABLE_ALPN
|
2014-06-21 15:45:50 +02:00
|
|
|
Enable use of ALPN. See \fICURLOPT_SSL_ENABLE_ALPN(3)\fP
|
2014-02-11 07:44:27 +01:00
|
|
|
.IP CURLOPT_SSL_ENABLE_NPN
|
2014-10-30 23:40:05 +01:00
|
|
|
Enable use of NPN. See \fICURLOPT_SSL_ENABLE_NPN(3)\fP
|
2004-02-27 10:02:06 +01:00
|
|
|
.IP CURLOPT_SSLENGINE
|
2014-06-21 15:45:50 +02:00
|
|
|
Use identifier with SSL engine. See \fICURLOPT_SSLENGINE(3)\fP
|
2004-02-27 10:02:06 +01:00
|
|
|
.IP CURLOPT_SSLENGINE_DEFAULT
|
2014-06-21 15:45:50 +02:00
|
|
|
Default SSL engine. See \fICURLOPT_SSLENGINE_DEFAULT(3)\fP
|
2015-02-14 16:57:07 +01:00
|
|
|
.IP CURLOPT_SSL_FALSESTART
|
|
|
|
Enable TLS False Start. See \fICURLOPT_SSL_FALSESTART(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_SSLVERSION
|
2014-06-21 15:45:50 +02:00
|
|
|
SSL version to use. See \fICURLOPT_SSLVERSION(3)\fP
|
2015-03-06 17:07:28 +01:00
|
|
|
.IP CURLOPT_SSL_VERIFYHOST
|
|
|
|
Verify the host name in the SSL certificate. See \fICURLOPT_SSL_VERIFYHOST(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_SSL_VERIFYPEER
|
2014-06-21 15:45:50 +02:00
|
|
|
Verify the SSL certificate. See \fICURLOPT_SSL_VERIFYPEER(3)\fP
|
2015-03-06 17:07:28 +01:00
|
|
|
.IP CURLOPT_SSL_VERIFYSTATUS
|
|
|
|
Verify the SSL certificate's status. See \fICURLOPT_SSL_VERIFYSTATUS(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_CAINFO
|
2014-06-21 15:45:50 +02:00
|
|
|
CA cert bundle. See \fICURLOPT_CAINFO(3)\fP
|
2008-06-06 22:52:32 +02:00
|
|
|
.IP CURLOPT_ISSUERCERT
|
2014-06-21 15:45:50 +02:00
|
|
|
Issuer certificate. See \fICURLOPT_ISSUERCERT(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_CAPATH
|
2014-06-21 15:45:50 +02:00
|
|
|
Path to CA cert bundle. See \fICURLOPT_CAPATH(3)\fP
|
2008-06-06 20:40:21 +02:00
|
|
|
.IP CURLOPT_CRLFILE
|
2014-06-21 15:45:50 +02:00
|
|
|
Certificate Revocation List. See \fICURLOPT_CRLFILE(3)\fP
|
2011-01-19 12:54:17 +01:00
|
|
|
.IP CURLOPT_CERTINFO
|
2014-06-21 20:43:04 +02:00
|
|
|
Extract certificate info. See \fICURLOPT_CERTINFO(3)\fP
|
2014-11-06 10:14:33 +01:00
|
|
|
.IP CURLOPT_PINNEDPUBLICKEY
|
|
|
|
Set pinned SSL public key . See \fICURLOPT_PINNEDPUBLICKEY(3)\fP
|
2011-01-19 12:54:17 +01:00
|
|
|
.IP CURLOPT_RANDOM_FILE
|
2014-06-21 15:45:50 +02:00
|
|
|
Provide source for entropy random data. See \fICURLOPT_RANDOM_FILE(3)\fP
|
2011-01-19 12:54:17 +01:00
|
|
|
.IP CURLOPT_EGDSOCKET
|
2014-06-21 15:45:50 +02:00
|
|
|
Identify EGD socket for entropy. See \fICURLOPT_EGDSOCKET(3)\fP
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_SSL_CIPHER_LIST
|
2014-06-21 15:45:50 +02:00
|
|
|
Ciphers to use. See \fICURLOPT_SSL_CIPHER_LIST(3)\fP
|
2006-09-11 19:18:18 +02:00
|
|
|
.IP CURLOPT_SSL_SESSIONID_CACHE
|
2014-06-21 15:45:50 +02:00
|
|
|
Disable SSL session-id cache. See \fICURLOPT_SSL_SESSIONID_CACHE(3)\fP
|
2012-02-06 22:12:06 +01:00
|
|
|
.IP CURLOPT_SSL_OPTIONS
|
2014-06-21 15:45:50 +02:00
|
|
|
Control SSL behavior. See \fICURLOPT_SSL_OPTIONS(3)\fP
|
2007-07-02 00:01:18 +02:00
|
|
|
.IP CURLOPT_KRBLEVEL
|
2014-06-21 15:45:50 +02:00
|
|
|
Kerberos security level. See \fICURLOPT_KRBLEVEL(3)\fP
|
2011-07-19 19:10:43 +02:00
|
|
|
.IP CURLOPT_GSSAPI_DELEGATION
|
2014-06-21 15:45:50 +02:00
|
|
|
Disable GSS-API delegation. See \fICURLOPT_GSSAPI_DELEGATION(3)\fP
|
2006-11-02 23:10:18 +01:00
|
|
|
.SH SSH OPTIONS
|
|
|
|
.IP CURLOPT_SSH_AUTH_TYPES
|
2014-06-21 15:45:50 +02:00
|
|
|
SSH authentication types. See \fICURLOPT_SSH_AUTH_TYPES(3)\fP
|
2007-10-03 10:00:42 +02:00
|
|
|
.IP CURLOPT_SSH_HOST_PUBLIC_KEY_MD5
|
2014-06-21 15:45:50 +02:00
|
|
|
MD5 of host's public key. See \fICURLOPT_SSH_HOST_PUBLIC_KEY_MD5(3)\fP
|
2006-11-02 23:10:18 +01:00
|
|
|
.IP CURLOPT_SSH_PUBLIC_KEYFILE
|
2014-06-21 15:45:50 +02:00
|
|
|
File name of public key. See \fICURLOPT_SSH_PUBLIC_KEYFILE(3)\fP
|
2006-11-02 23:10:18 +01:00
|
|
|
.IP CURLOPT_SSH_PRIVATE_KEYFILE
|
2014-06-21 15:45:50 +02:00
|
|
|
File name of private key. See \fICURLOPT_SSH_PRIVATE_KEYFILE(3)\fP
|
2009-07-23 00:49:01 +02:00
|
|
|
.IP CURLOPT_SSH_KNOWNHOSTS
|
2014-06-21 15:45:50 +02:00
|
|
|
File name with known hosts. See \fICURLOPT_SSH_KNOWNHOSTS(3)\fP
|
2009-07-23 00:49:01 +02:00
|
|
|
.IP CURLOPT_SSH_KEYFUNCTION
|
2014-06-21 15:45:50 +02:00
|
|
|
Callback for known hosts handling. See \fICURLOPT_SSH_KEYFUNCTION(3)\fP
|
2009-07-23 00:49:01 +02:00
|
|
|
.IP CURLOPT_SSH_KEYDATA
|
2014-06-21 15:45:50 +02:00
|
|
|
Custom pointer to pass to ssh key callback. See \fICURLOPT_SSH_KEYDATA(3)\fP
|
2002-11-20 20:11:22 +01:00
|
|
|
.SH OTHER OPTIONS
|
2003-11-04 13:55:53 +01:00
|
|
|
.IP CURLOPT_PRIVATE
|
2014-06-21 15:45:50 +02:00
|
|
|
Private pointer to store. See \fICURLOPT_PRIVATE(3)\fP
|
2004-02-25 13:20:41 +01:00
|
|
|
.IP CURLOPT_SHARE
|
2014-06-21 15:45:50 +02:00
|
|
|
Share object to use. See \fICURLOPT_SHARE(3)\fP
|
2007-06-27 22:15:48 +02:00
|
|
|
.IP CURLOPT_NEW_FILE_PERMS
|
2014-06-21 15:45:50 +02:00
|
|
|
Mode for creating new remote files. See \fICURLOPT_NEW_FILE_PERMS(3)\fP
|
2007-06-27 22:15:48 +02:00
|
|
|
.IP CURLOPT_NEW_DIRECTORY_PERMS
|
2014-10-30 23:40:05 +01:00
|
|
|
Mode for creating new remote directories. See \fICURLOPT_NEW_DIRECTORY_PERMS(3)\fP
|
2004-02-27 10:02:06 +01:00
|
|
|
.SH TELNET OPTIONS
|
|
|
|
.IP CURLOPT_TELNETOPTIONS
|
2014-06-21 15:45:50 +02:00
|
|
|
TELNET options. See \fICURLOPT_TELNETOPTIONS(3)\fP
|
2002-03-04 11:09:48 +01:00
|
|
|
.SH RETURN VALUE
|
2014-06-25 22:30:36 +02:00
|
|
|
\fICURLE_OK\fP (zero) means that the option was set properly, non-zero means an
|
2004-02-27 16:34:06 +01:00
|
|
|
error occurred as \fI<curl/curl.h>\fP defines. See the \fIlibcurl-errors(3)\fP
|
2002-04-12 13:39:27 +02:00
|
|
|
man page for the full list with descriptions.
|
2004-06-03 13:19:35 +02:00
|
|
|
|
|
|
|
If you try to set an option that libcurl doesn't know about, perhaps because
|
|
|
|
the library is too old to support it or the option was removed in a recent
|
2014-06-25 22:30:36 +02:00
|
|
|
version, this function will return \fICURLE_UNKNOWN_OPTION\fP. If support for
|
|
|
|
the option was disabled at compile-time, it will return
|
|
|
|
\fICURLE_NOT_BUILT_IN\fP.
|
2014-11-25 14:25:02 +01:00
|
|
|
.SH EXAMPLE
|
|
|
|
.nf
|
|
|
|
CURL *curl = curl_easy_init();
|
|
|
|
if(curl) {
|
|
|
|
CURLcode res;
|
|
|
|
curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
|
|
|
|
res = curl_easy_perform(curl);
|
|
|
|
curl_easy_cleanup(curl);
|
|
|
|
}}
|
|
|
|
.fi
|
2002-03-04 11:09:48 +01:00
|
|
|
.SH "SEE ALSO"
|
2014-10-21 10:26:40 +02:00
|
|
|
.BR curl_easy_init "(3), " curl_easy_cleanup "(3), " curl_easy_reset "(3), "
|
|
|
|
.BR curl_multi_setopt "(3), "
|