All curl_easy_setopt options listed
All existing options for curl_easy_setopt in alphabetical order.
设置一个抽象的Unix域套接字 | set an abstract Unix domain socket | |
等待FTP服务器恢复连接的超时时间 | timeout waiting for FTP server to connect back | |
启用自动解压http的下载 | enables automatic decompression of HTTP downloads | |
为本地IPv6地址设置范围 | set scope for local IPv6 addresses | |
启用远程文件追加(FTP文件上传) | enable appending to the remote file | |
自动更新引用头(比如:重定向) | automatically update the referer header | |
设置首选接收缓冲区大小 | set preferred receive buffer size | |
CA文件的路径。CURLOPT_SSL_VERIFYPEER 为0时,不要设置 | path to Certificate Authority (CA) bundle | |
指定保存CA证书的目录 | specify directory holding CA certificates | |
请求SSL证书信息 | request SSL certificate information | |
libcurl会在传输流的一部分之前调用这个回调函数 | callback before a transfer with FTP wildcardmatch | |
自定义指向FTP块回调的指针 | custom pointer to the FTP chunk callbacks | |
只要传输了流的一部分,libcurl就会调用这个函数 | callback after a transfer with FTP wildcardmatch | |
socket关闭的回调函数 | pointer passed to the socket close callback | |
socket关闭的替代回调函数 | callback to socket close replacement function | |
设置连接阶段超时时间(单位:s) | timeout for the connect phase | |
设置连接阶段超时时间(单位:ms) | timeout for the connect phase | |
连接到目标服务器时停止 | stop when connected to target server | |
连接指定的主机和端口以替代URL中的主机和端口 | Connect to a specific host and port instead of the URL's host and port | |
把数据从网络字节序转为主机字节序 | convert data from network to host encoding | |
把数据从UTF-8编码转为主机字节序 | convert data from UTF8 to host encoding | |
把数据从主机字节序转为网络字节序 | convert data to network from host encoding | |
设置HTTP Cookie头的内容 | set contents of HTTP Cookie header | |
读取cookie的文件名 | file name to read cookies from | |
存储cookie的文件名 | file name to store cookies to | |
添加到或者操作内存中的cookies | add to or manipulate cookies held in memory | |
开始一个新的cookie会话 | start a new cookie session | |
设置POST要发送的数据 | have libcurl copy data to POST | |
开启或关闭CRLF | enable/disable CRLF conversion | |
指定证书撤销列表文件 | specify a Certificate Revocation List file | |
自定义请求方法(比如:DELETE) | custom string for request | |
debug数据的接收地址,CURLOPT_DEBUGFUNCTION 必须设置才有用 | custom pointer for debug callback | |
debug回调函数 | debug callback | |
设置默认的协议,如果URL没有指定协议时使用 | default protocol to use if the URL is missing a | |
只在目录列表中请求名称 | ask for names only in a directory listing | |
不允许在URL中指定用户名 | disallow specifying username in the url | |
设置DNS缓存条目的生命周期 | set life-time for DNS cache entries | |
设置DNS解析器应该绑定到的网络接口的名称 | set interface to speak DNS over | |
设置IPv4的DNS地址 | IPv4 address to bind DNS resolves to | |
设置IPv6的DNS地址 | IPv6 address to bind DNS resolves to | |
设置首选DNS服务器 | set preferred DNS servers | |
当主机返回多个IP地址时,打乱IP地址 | Shuffle addresses when a hostname returns more than one | |
打开/关闭全局DNS缓存 | enable/disable global DNS cache | |
设置熵收集守护进程的socket路径 (常用于SSL种子的随机引擎) (EGD:The Entropy Gathering Daemon) | set EGD socket path | |
设置错误信息的缓冲区 | set error buffer for error messages | |
设置当http服务器返回状态码为100时, libcurl等待的超时时间。单位:ms. | timeout for Expect: 100-continue response | |
设置当服务器返回状态码大于等于400时, libcurl是否认为错误的请求 | request failure on HTTP response >= 400 | |
获得远程文件的修改时间 | get the modification time of the remote resource | |
此回调用于通配符匹配。 | custom pointer to fnmatch callback | |
此回调用于通配符匹配。 | wildcard matching function callback | |
跟随3xx 跳转 | follow HTTP 3xx redirects | |
使用后立即关闭连接 | make connection get closed at once after use | |
强制使用新的连接 | force a new connection to be used | |
指定用PORT模式传输,并使用给定的字符串 获取要用于FTP端口指令的IP地址 | make FTP transfer active | |
设置使用FTP时尝试TLS和SSL的顺序 | set order in which to attempt TLS vs SSL when using FTP | |
设置FTP的账户信息 | set account info for FTP | |
如果常见的FTP“USER USER”和“Pass password” 协商失败,将使用该字符串进行身份验证。 目前,只有在使用客户端证书进行身份验证并连接 到Tumbleweed的安全传输FTPS服务器时, 才需要这样做。 | command to use instead of USER with FTP | |
为FTP和SFTP创建丢失的dirs | create missing dirs for FTP and SFTP | |
选择FTP的目录遍历方法 | select directory traversing method for FTP | |
设置等待FTP响应的超时时间 | time allowed to wait for FTP response | |
忽略PASV响应中的IP地址(PASV:FTP被动模式) | ignore the IP address in the PASV response | |
在进行身份验证后关闭SSL/TLS层 | switch off SSL again with FTP after auth | |
打开或关闭EPRT模式 | enable/disable use of EPRT with FTP | |
打开或关闭EPSV模式 | enable/disable use of EPSV | |
允许PERT命令 | enable the PRET command | |
设置允许GSS-API 授权 | set allowed GSS-API delegation | |
Happy eyeballs是一种试图连接到IPv4和IPv6地 址的双栈主机的算法,优先选择IPv6超时毫秒数 | head start for ipv6 for happy eyeballs | |
发送HAProxy代理协议v1头 | send HAProxy PROXY protocol v1 header | |
将头部放入数据流(写回调中包含头部数据) | pass headers to the data stream | |
指向传递到头回调的指针 | pointer to pass to header callback | |
接收头数据的回调 | callback that receives header data | |
设置如何发送HTTP头 | set how to send HTTP headers | |
为HTTP 200确定指定可选匹配 | specify alternative matches for HTTP 200 OK | |
设置可尝试的HTTP服务器验证方法 | set HTTP server authentication methods to try | |
发起一个HTTP GET 请求 | ask for an HTTP GET request | |
设置自定义HTTP 头 | set custom HTTP headers | |
指定POST方法的内容 | specify the multipart formpost content | |
使libcurl隧道通过HTTP代理进行所有操作 | tunnel through HTTP proxy | |
启用/禁用HTTP内容解码 | enable/disable HTTP content decoding | |
启用/禁用HTTP传输解码 | enable/disable HTTP transfer decoding | |
指定使用的HTTP协议版本 | specify HTTP protocol version to use | |
忽略内容长度 | ignore content length | |
设置要发送文件的大小(不大于2GB) | set size of the input file to send off | |
设置要发送文件的大小(大于2GB) | set size of the input file to send off | |
设置网络接口 | source interface for outgoing traffic | |
这是当接收到隔行扫描的RTP数据时将传递给CURLOPT_INTERLEAVEFUNCTION的userdata指针。 如果未设置interleave函数回调,则此指针不会在 任何地方使用。 | custom pointer passed to RTSP interleave callback | |
接收到隔行扫描数据的回调函数 | callback function for RTSP interleaved data | |
使用CURLOPT_IOCTLFUNCTION时, 作为ioctl回调设置的第三个参数 | custom pointer passed to I/O callback | |
IO操作回调 | callback for I/O operations | |
指定IP协议的版本 | specify which IP protocol version to use | |
SSL证书文件名 | issuer SSL certificate filename | |
继续发送早期HTTP响应>= 300 | keep sending on early HTTP response >= 300 | |
将密码设置为私钥 | set passphrase to private key | |
设置FTP kerberos安全级别 | set FTP kerberos security level | |
设置套接字使用的本地端口号 | set local port number to use for socket | |
尝试添加的本地端口的数量 | number of additional local ports to try | |
设置登录选项 | set login options | |
设置低速限制的每秒字节数 | set low speed limit in bytes per second | |
设置低速限制的时间周期 | set low speed limit time period | |
SMTP身份验证地址 | SMTP authentication address | |
SMTP邮件发件人地址 | SMTP sender address | |
SMTP邮件收件人列表 | list of SMTP mail recipients | |
最大连接缓存大小 | maximum connection cache size | |
允许下载的最大文件尺寸 | maximum file size allowed to download | |
允许下载的最大文件尺寸 | maximum file size allowed to download | |
允许重定向的最大值 | maximum number of redirects allowed | |
数据下载的速率限制 | rate limit data download speed | |
数据上传的速率限制 | rate limit data upload speed | |
用我的结构设置post/send数据 | set post/send data from mime structure | |
请求使用.netrc | request that .netrc is used | |
要从中读取.netrc信息的文件名 | file name to read .netrc info from | |
远程创建目录的权限 | permissions for remotely created directories | |
远程创建文件的权限 | permissions for remotely created files | |
下载请求除非获取到body | do the download request without getting the body | |
关闭进度表 | switch off the progress meter | |
对于指定的主机不使用代理 | disable proxy use for specific hosts | |
跳过所有信号处理函数 | skip all signal handling | |
自定义传递给socket打开回调的指针 | custom pointer passed to open socket callback | |
设置打开socket的回调 | set callback for opening sockets | |
用于身份认证的密码 | password to use in authentication | |
不处理点-点序列 | do not handle dot dot sequences | |
设置固定的公钥 | set pinned public key | |
等待管道/多路复用 | wait for pipelining/multiplexing | |
设置端口 | set remote port number to work with | |
发起一个POST请求 | request an HTTP POST | |
指定POST发送到服务器的数据 | specify data to POST to server | |
POST发送数据的大小 | size of POST data pointed to | |
POST发送数据的大小 | size of POST data pointed to | |
(S)FTP在传输后执行命令 | (S)FTP commands to run after the transfer | |
如何操作HTTP POST重定向 | how to act on an HTTP POST redirect | |
在FTP传输之前运行命令 | commands to run before an FTP transfer | |
设置使用pre-proxy | set pre-proxy to use | |
存储一个私有指针 | store a private pointer | |
传递给进度回调的自定义指针 | custom pointer passed to the progress callback | |
进度条回调函数 | callback to progress meter function | |
设置允许的协议 | set allowed protocols | |
使用代理 | set proxy to use | |
设置HTTP代理身份验证可尝试的方法 | set HTTP proxy authentication methods to try | |
自定义传递给代理的HTTP头 | custom HTTP headers to pass to proxy | |
与代理身份验证一起使用的密码 | password to use with proxy authentication | |
代理监听的端口号 | port number the proxy listens on | |
代理协议类型 | proxy protocol type | |
用于代理身份验证的用户名 | user name to use for proxy authentication | |
用于代理身份验证的用户名和密码 | user name and password to use for proxy authentication | |
代理证书颁发机构(CA)包的路径 | path to proxy Certificate Authority (CA) bundle | |
指定保存代理CA证书的目录 | specify directory holding proxy CA certificates | |
指定一个代理证书吊销列表文件 | specify a proxy Certificate Revocation List file | |
将密码设置为代理私钥 | set passphrase to proxy private key | |
为https代理设置固定公钥 | set pinned public key for https proxy | |
代理身份验证服务名称 | proxy authentication service name | |
设置SSL代理客户端证书 | set SSL proxy client certificate | |
指定代理客户端SSL证书的类型 | specify type of the proxy client SSL certificate | |
为TLS和SSL代理客户端证书指定私有密钥文件 | specify private keyfile for TLS and SSL proxy client cert | |
设置代理私有密钥文件的类型 | set type of the proxy private key file | |
设置首选代理TLS/SSL版本 | set preferred proxy TLS/SSL version | |
指定要用于代理TLS的密码 | specify ciphers to use for proxy TLS | |
设置代理SSL行为选项 | set proxy SSL behavior options | |
根据主机验证代理证书的名称 | verify the proxy certificate's name against host | |
验证代理的SSL证书 | verify the proxy's SSL certificate | |
代理TLS 1.3的加密套件 | ciphers suites for proxy TLS 1.3 | |
用于代理TLS身份验证的密码 | password to use for proxy TLS authentication | |
设置代理TLS身份验证方法 | set proxy TLS authentication methods | |
用于代理TLS身份验证的用户名 | user name to use for proxy TLS authentication | |
为代理添加FTP传输模式到URL | append FTP transfer mode to URL for proxy | |
发起HTTP PUT请求 | make an HTTP PUT request | |
(S)FTP在传输前执行的命令 | (S)FTP commands to run before transfer | |
指定生成随机数的种子 | specify a source for random data | |
设置请求的字节区间 | set byte range to request | |
自定义传递给读回调的指针 | custom pointer passed to the read callback | |
数据上传的读回调 | read callback for data uploads | |
设置允许重定向的协议 | set protocols allowed to redirect to | |
设置HTTP引用头 | set the HTTP referer header | |
为这个请求指定一个替代目标 | specify an alternative target for this request | |
提供自定义的主机名到IP地址解析 | provide custom host name to IP address resolves | |
传递给解析器开始回调的自定义指针 | custom pointer passed to the resolver start callback | |
将回调设置为在启动新的解析请求之前调用 | set callback to be called before a new resolve request is started | |
设置续传点 | set a point to resume transfer from | |
设置续传点 | set a point to resume transfer from | |
设置RTSP客户端的CSEQ值 | set the RTSP client CSEQ number | |
指定RTSP请求 | specify RTSP request | |
设置RTSP服务器的CSED值 | set the RTSP server CSEQ number | |
设置RTSP的会话ID | set RTSP session ID | |
设置RTSP流的URI | set RTSP stream URI | |
设置RTSP传输头 | set RTSP Transport: header | |
启用在第一个包中发送初始响应 | enable sending initial response in first packet | |
自定义传递给seek回调的指针 | custom pointer passed to the seek callback | |
用于在输入流中跳转的用户回调 | user callback for seeking in input stream | |
身份验证服务名称 | authentication service name | |
指定要使用的共享句柄 | specify share handle to use | |
自定义传递给sockopt回调的指针 | custom pointer to pass to sockopt callback | |
设置设置socket选项的回调 | set callback for setting socket options | |
设置允许SOCKS5代理身份验证的方法 | set allowed methods for SOCKS5 proxy authentication | |
设置socks代理gssapi协商保护 | set socks proxy gssapi negotiation protection | |
SOCKS5代理身份验证服务名称 | SOCKS5 proxy authentication service name | |
为SFTP和SCP设置所需的auth类型 | set desired auth types for SFTP and SCP | |
启用自动解压HTTP下载 | enables automatic decompression of HTTP downloads | |
SSH服务器公钥的校验 | checksum of SSH server public key | |
指向传递到SSH KEY回调的指针 | pointer to pass to the SSH key callback | |
已知主机匹配逻辑的回调 | callback for known host matching logic | |
设置保存SSH已知主机的文件名 | file name holding the SSH known hosts | |
为SSH认证设置私钥文件 | set private key file for SSH auth | |
为SSH认证设置公钥文件 | set public key file for SSH auth | |
设置SSL客户端证书 | set SSL client certificate | |
指定客户端SSL证书的类型 | specify type of the client SSL certificate | |
设置SSL引擎标识符 | set SSL engine identifier | |
使SSL引擎默认 | make SSL engine default | |
为TLS和SSL客户机证书指定私有密钥文件 | specify private keyfile for TLS and SSL client cert | |
设置私钥文件的类型 | set type of the private key file | |
设置 TLS/SSL的首选版本 | set preferred TLS/SSL version | |
指定TLS的加密算法 | specify ciphers to use for TLS | |
自定义传入 ssl_ctx 回调的指针 | custom pointer passed to ssl_ctx callback | |
SSL上下文回调 | SSL context callback for OpenSSL, wolfSSL/CyaSSL or mbedTLS | |
启用 ALPN | enable ALPN | |
启用 NPN | enable NPN | |
启用TLS抢先 | enable TLS false start | |
设置SSL行为属性 | set SSL behavior options | |
启用/禁止使用SSL session-ID 缓存 | enable/disable use of the SSL session-ID cache | |
根据主机验证证书的名称 | verify the certificate's name against host | |
验证节点的SSL证书 | verify the peer's SSL certificate | |
验证证书的状态 | verify the certificate's status | |
重定向标准错误输出 | redirect stderr to another stream | |
标识与此流完全依赖的连接相同的流 | set stream this transfer depends on | |
标识与此流完全依赖的连接相同的流 | set stream this transfer depends on exclusively | |
set numerical stream weight | ||
启用此选项来隐藏代理连接响应头 | Suppress proxy CONNECT response headers from user callbacks | |
启用TCP Fast Open | enable TCP Fast Open | |
启用TCP keepalive 探测 | enable TCP keep-alive probing | |
设置操作系统在连接空闲多少秒之后发起 keepalive探测 | set TCP keep-alive idle time wait | |
设置操作系统在发送keepalive探测之间 等待的时间间隔(单位:s) | set TCP keep-alive interval | |
设置TCP_NODELAY选项 | set the TCP_NODELAY option | |
自定义TELNET选项 | custom telnet options | |
TFTP块大小 | TFTP block size | |
不发送TFTP选项请求。 | Do not send TFTP options requests. | |
定义如何处理CURLOPT_TIMEVALUE时间值 | select condition for a time request | |
设置请求的最大超时时间(单位:s) | set maximum time the request is allowed to take | |
设置请求的最大超时时间(单位:ms) | set maximum time the request is allowed to take | |
设置时间(1970.1.1到现在的秒数) | set time value for conditional | |
设置时间(大于2038年的时间,必须用这个) | set time value for conditional | |
为TLS1.3指定加密套件 | specify ciphers suites to use for TLS 1.3 | |
用于TLS认证的密码 | password to use for TLS authentication | |
设置 TLS 认证的方法 | set TLS authentication methods | |
用于TLS认证的用户名 | user name to use for TLS authentication | |
请求一个基于FTP传输的文件 | request a text based transfer for FTP | |
请求HTTP传输编码 | ask for HTTP Transfer Encoding | |
设置 Unix domain 套接字 | set Unix domain socket | |
也将凭证发送到其他主机 | send credentials to other hosts too | |
打开数据上传 | enable data upload | |
要请求的URL地址 | provide the URL to use in the request | |
设置HTTP 头的 User-Agent字段 | set HTTP user-agent header | |
用于身份验证的用户名 | user name to use in authentication | |
用于身份验证的用户名和密码 (如:“zhangsan:123456”) | user name and password to use in authentication | |
请求使用SSL / TLS进行传输 | request using SSL / TLS for the transfer | |
详细模式设置开/关 | set verbose mode on/off | |
启用目录通配符 | enable directory wildcard transfers | |
传递给写回调的自定义指针 | custom pointer passed to the write callback | |
为写入接收数据设置回调 | set callback for writing received data | |
传递给进度回调函数的自定义指针 | custom pointer passed to the progress callback | |
进度回调函数 | callback to progress meter function | |
指定OAuth 2.0访问令牌 | specify OAuth 2.0 access token |